[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#755235: ITP: liblog-any-adapter-callback-perl -- Module to send Log::Any logs to a subroutine



Package: wnpp
Severity: wishlist
Owner: Robin Sheat <robin@catalyst.net.nz>

* Package name    : liblog-any-adapter-callback-perl
  Version         : 0.09
  Upstream Author : Steven Haryanto <stevenharyanto@gmail.com>
* URL             : https://metacpan.org/release/Log-Any-Adapter-Callback
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : Module to send Log::Any logs to a subroutine

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.


Reply to: