Issue #7065 has been updated by luislavena (Luis Lavena).

Status changed from Open to Assigned

Eregon (Benoit Daloze) wrote:
> 
> If I'm not mistaken this is unnecessary, as "static" (without #{...}) Regexps are created only once (because they are immutable):
> 

You're correct, I should stop responding to issues after 10pm.

----------------------------------------
Bug #7065: Syslog::Logger should have a formatter
https://bugs.ruby-lang.org/issues/7065#change-29752

Author: tenderlovemaking (Aaron Patterson)
Status: Assigned
Priority: Normal
Assignee: knu (Akinori MUSHA)
Category: 
Target version: 
ruby -v: ruby 2.0.0dev (2012-09-24 trunk 37026) [x86_64-darwin12.2.0]


Hi, Syslog::Logger should have a formatter so that it can behave similar to the regular Logger class.  I've attached a patch with tests to implement the formatter.

Thanks!


-- 
http://bugs.ruby-lang.org/