From: <msc...@ao...> - 2003-01-23 08:45:29
|
Hey Kevin, just finished a couple of changes: * added Log::Log4perl::Appender::TestArrayBuffer as a test appender capable of handling array refs. * added test cases in 015fltmsg.t (for some strange reason 015 was still available :). * looks like we can't use "sub {...}" as the syntax for filter_message coderefs because it's taken by the perl hooks already which are executed at config time. filter_message, on the other hand, needs to run at log time. For now, I've changed the code to expect a function *name* instead of a code ref -- see the latest addition to the Log::Log4perl::Appender docs ... thoughts? * While I wrote the test cases, I felt regrets that we don't have a generic interface (other than in the DBI appender) to run PatternLayout substitutions on multiple-argument appender calls. Like $log->debug("%d", "%m") -- could we do that somehow? Brain storming ideas? :) -- -- Mike ############################ # Mike Schilli # # log...@pe... # # http://perlmeister.com # # log4perl.sourceforge.net # ############################ |