Logger question

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

On Fri, 15 May 2009 23:10:06 +0900, Reid T. 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.
:confused:

Try out the logging gem perhaps?