[Red5devs] Log messages

Mondain mondain at gmail.com
Wed Oct 29 06:44:43 PST 2008


My fellow devs..When you create log messages please use this form

log.error("Job {} execution failed", job.toString(), e);

instead of using string concatenation

log.error("Job " + job.toString() + " execution failed", e);

The logging system is optimized to handle parameter replacements with
incurring a concat penalty. Ill update the wiki about it one of these days..

Paul

-- 
http://gregoire.org/
http://osflash.org/red5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5devs_osflash.org/attachments/20081029/e458a590/attachment.html>


More information about the Red5devs mailing list