Name : perl-Log-Any-Adapter-Callback
| |
Version : 0.102
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.1.1
| Date : 2023-11-22 06:26:51
|
Group : Unspecified
| Source RPM : perl-Log-Any-Adapter-Callback-0.102-lp155.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : (DEPRECATED)(ADOPTME) Send Log::Any logs to a subroutine
|
Description :
DEPRECATION NOTICE: Log::Any distribution since 1.708 comes with Log::Any::Adapter::Capture which does the same thing. I\'m deprecating this adapter now.
This adapter lets you specify callback subroutine to be called by Log::Any\'s logging methods (like $log->debug(), $log->error(), etc) and detection methods (like $log->is_warning(), $log->is_fatal(), etc.).
This adapter is used for customized logging, and is mostly a convenient construct to save a few lines of code. You could achieve the same effect by creating a full Log::Any adapter class.
Your logging callback subroutine will be called with these arguments:
($method, $self, $format, AATTparams)
where $method is the name of method (like \"debug\") and ($self, $format, AATTparams) are given by Log::Any.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-L/15.5/noarch |