David Palm
5/15/2009 2:23:00 PM
On Fri, 15 May 2009 23:10:06 +0900, Reid Thompson wrote:
> Without modifying the file logger.rb, is there a way to add a log
> severity level? For instance, I have a group of counters that I want to
> output at the end of a script run with a log level of REPORT ala
>
> R, [2009-05-15T10:00:59.988975 #1422] RPT -- : counter output message
>
I am pretty sure you'd have to at least subclass Logger to achieve that. :/
Try out the logging gem perhaps?