Re: [log4perl-devel] requesting feedback on Log::Abstract

2007-09-10 Thread Mike Schilli
On Mon, 10 Sep 2007, Jonathan Swartz wrote: > It isn't different, by itself, but it translates naturally into > > $log->debug("Current arguments: " . Dumper([EMAIL PROTECTED])) if > $log->is_debug; > > whereas if you start off in easy mode, you don't have any way to get > at the logger (as f

Re: [log4perl-devel] requesting feedback on Log::Abstract

2007-09-10 Thread Jonathan Swartz
>> The problem I have with the DEBUG etc keywords is that they promote >> inefficient behavior. e.g. >> >> DEBUG "Current arguments: " . Dumper([EMAIL PROTECTED]); >> >> will take the performance hit for Dumper() even when debug logging >> isn't turned on. > > Sure, although I don't see how >

Re: [log4perl-devel] requesting feedback on Log::Abstract

2007-09-10 Thread Jim Cromie
Mike Schilli wrote: > > While you're at it, here's my pipe dream: I want something like Dtrace, > where the logging framework zeroes out the opcodes that are currently > inactive, and the interpreter rushes through them at light speed with > practically no overhead. > > -- Mike > This sounds l