From: Joel VanderWerf Date: 2009-07-22T02:02:44+09:00 Subject: Re: Best practice question: logging Pito Salas wrote: > - how do I minimize the overhead when logging is OFF? log.debug { "a message about #{topics.join.inspect}" } is faster than log.debug "a message about #{topics.join.inspect}" because the interpolation and #join and #inspect only happen if log is in debug level. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407