From: Tim Pease Date: 2009-04-19T02:43:13+09:00 Subject: Re: [ANN] logging (version 1.0.0) On Sat, Apr 18, 2009 at 9:52 AM, Aaron Turner wrote: > On Fri, Apr 17, 2009 at 10:07 PM, Tim Pease wrote: >> Logging version 1.0.0 >>    by Tim Pease >>    http://logging.rubyforge.org/ >> >> == DESCRIPTION >> >> Logging is a flexible logging library for use in Ruby programs based on the >> design of Java's log4j library. It features a hierarchical logging system, >> custom level names, multiple output destinations per log event, custom >> formatting, and more. > > Hey Tim, > How does logging compare to log4r? > Let's find out 'logging' <=> 'log4r' #=> 1 Logging supports all the same features of log4r and some improvements and nifty new things, too. The rolling log file appender in Logging is safe to use from multiple processes; this is not the case with log4r's rolling file outputter. Logging supports parseable log formats -- messages can be output as JSON or YAML formatted objects. This makes parsing your log files much much easier. Logging has a growl notification appender for those of you on Mac OS X. Both support logger hierarchies. Logging has a cleaner interface (in my opinion). Check out the examples folder of the logging project to get a feel of how to use it and what it is capable of. http://github.com/TwP/logging/tree/master Blessings, TwP