Import Log::Any::Adapter::Callback 0.09 as devel/p5-Log-Any-Adapter-Callback.

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 commit is contained in:
fhajny 2016-11-08 12:04:43 +00:00
parent 02e0265794
commit 219877d763
3 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,3 @@
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.).

View file

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2016/11/08 12:04:43 fhajny Exp $
DISTNAME= Log-Any-Adapter-Callback-0.09
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Log/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/release/Log-Any-Adapter-Callback/
COMMENT= Perl5 module to send Log::Any logs to a subroutine
LICENSE= ${PERL5_LICENSE}
PERL5_PACKLIST= auto/Log/Any/Adapter/Callback/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2016/11/08 12:04:43 fhajny Exp $
SHA1 (Log-Any-Adapter-Callback-0.09.tar.gz) = 74bb34133332abc463428f25c6996f796e5f3b67
RMD160 (Log-Any-Adapter-Callback-0.09.tar.gz) = 237dc8842cf813ec1518380c2b6fa335ed79743c
SHA512 (Log-Any-Adapter-Callback-0.09.tar.gz) = 4a311d68c5b211071e2b3549db846d1f5c3cfe7d933b805a843bfa241751015823a2376ce324386f625349416ea79cca3f91e07f514ae6e15792df50c31f0c68
Size (Log-Any-Adapter-Callback-0.09.tar.gz) = 13328 bytes