From: <Msc...@ao...> - 2002-08-31 00:39:27
|
In a message dated 8/30/02 4:45:04 PM Pacific Daylight Time, ke...@go... writes: > One of *my* goals in starting this project was to emulate log4j behavior > as closely as possible Yep, 100% agreed. > So if log4j has OFF = FATAL, I think we should do the same thing, even > if we think it's wrong, just because it's the *same*. Agreed, but I don't think it does, so I think we just need to redefine the constants behind the scenes, so that we can implement the inc_level/dec_level methods of the Level (!) class as proposed by Erik. These constants should be invisible to the Log::Log4perl user, of course. I also don't like introducing non-log4j-compatible levels, if we want that, we should provide user-defined Level classes just like log4j does. inc_level/dec_level would have to cope with those. I personally haven't felt a need for more levels (yet), but hey, if log4j provides it, why not. But again, we want to be compliant with log4j, for all the reasons Kevin mentioned earlier. -- Mike Mike Schilli log...@pe... http://perlmeister.com http://log4perl.sourceforge.net |