From: Mike S. <m...@pe...> - 2004-12-08 06:38:21
|
Hi all, Log::Log4perl 0.50 has just been released to log4perl.sourceforge.net. Here's what's new: 0.50 (12/08/2004) * (ms) Added ':resurrect' source filter, which uncomments all lines starting with "###l4p". Can be used for hidden L4p statements, which are then activated by calling 'use Log::Log4perl qw(:resurrect)'. * (ms) Fixed Win32 test suite bug: File::Spec->catfile() returns '/' as a path separator on both Unix and Win32, while Log4perl's layouts (derived from caller() info) use '\' on Win32 and '/' on Unix. Changed tests to only verify file name, not path. * (ms) Added 'appender_by_name()' to retrieve an appender defined in the configuration file by name later. * (ms) Added FAQ on "stubbing out" L4p macros in environments that don't have L4p installed. * (ms) Added convenience function appender_thresholds_adjust() to adjust thresholds of chosen (or all) appenders * (ms) Got rid of Test::Simple dependency * (ms) Moved autoflush setting in L4p::Appender::File from log() to file_open(), running only once, not with every message. * (ms) Applied doc fixes suggested by Jon Bjornstad. * (ms) Added ScreenANSIColor appender to colorize messages based on their priority. See Log::Log4perl::Appender::ScreenANSIColor. As always, if all goes well, it'll hit CPAN in a couple of days. Give it a whirl and post any problems - have fun! -- Mike Mike Schilli m...@pe... |