From: "luislavena (Luis Lavena)" Date: 2012-09-26T19:40:22+09:00 Subject: [ruby-core:47704] [ruby-trunk - Bug #7065][Assigned] Syslog::Logger should have a formatter 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/