Name : perl-Log-Any-Adapter-Callback
| |
Version : 0.102.0
| Vendor : openSUSE
|
Release : 2.2
| Date : 2024-03-08 23:41:21
|
Group : Unspecified
| Source RPM : perl-Log-Any-Adapter-Callback-0.102.0-2.2.src.rpm
|
Size : 0.03 MB
| |
Packager : https://bugs_opensuse_org
| |
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/openSUSE:/Factory:/RISCV/standard/noarch |