pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Log-Dispatchouli



Module Name:    pkgsrc
Committed By:   sno
Date:           Thu Jul  5 14:10:51 UTC 2012

Added Files:
        pkgsrc/devel/p5-Log-Dispatchouli: DESCR Makefile distinfo

Log Message:
Importing package for Perl 5 module Log::Dispatchouli version 2.005 from
CPAN into devel/p5-Log-Dispatchouli.

Log::Dispatchouli is a thin layer above Log::Dispatch and meant to make it
dead simple to add logging to a program without having to think much about
categories, facilities, levels, or things like that. It is meant to make
logging just configurable enough that you can find the logs you want and
just easy enough that you will actually log things.

Log::Dispatchouli can log to syslog (if you specify a facility), standard
error or standard output, to a file, or to an array in memory. That last
one is mostly useful for testing.

In addition to providing as simple a way to get a handle for logging
operations, Log::Dispatchouli uses String::Flogger to process the things
to be logged, meaning you can easily log data structures. Basically:
strings are logged as is, arrayrefs are taken as (sprintf format, args),
and subroutines are called only if needed. For more information read the
String::Flogger docs.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Log-Dispatchouli/DESCR \
    pkgsrc/devel/p5-Log-Dispatchouli/Makefile \
    pkgsrc/devel/p5-Log-Dispatchouli/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index