logger question

R

Reid Thompson

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
 
D

David Palm

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,174
Messages
2,570,940
Members
47,484
Latest member
JackRichard

Latest Threads

Top