NAME
Log::Any::Plugin::Util - Utilities for Log::Any::Plugin classes
VERSION
version 0.012
DESCRIPTION
These functions are only of use to authors of Log::Any::Plugin classes.
Users should see Log::Any::Plugin instead.
CLASS METHODS
get_old_method ( $class, $method_name )
Returns a coderef of the existing method in the class, or undef if none exists. Exactly the same semantics as $class->can($method_name).
set_new_method ( $class, $method_name, &new_method )
Replaces the given method with the new version.
$class
Name of class containing the method.
$method_name
Name of method to be modified.
&new_method
Coderef of the new method.
get_class_name ( $name )
Creates a fully-qualified class name from the abbreviated class name rules in Log::Any::Plugin.
$name
Either a namespace suffix, or a fully-qualified class name prefixed with '+'.
all_logging_methods
Return an array of all the Log:Any logging methods and aliases
SEE ALSO
ACKNOWLEDGEMENTS
Thanks to Strategic Data for sponsoring the development of this module.
AUTHOR
Stephen Thirlwall <sdt@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2022, 2019, 2017, 2015, 2014 by Stephen Thirlwall.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.