Actually it does, it's on the instance, not on the class:

$ irb -rlogger
irb(main):001:0> Logger::Formatter.new.respond_to? :call
=> true

I checked and it's available in all Rubies. Did I miss something?

Cyril

On Jul 2, 2013, at 3:32 PM, Willian Molinari <notifications@github.com> wrote:

> In lib/syslogger.rb:
> 
> > @@ -46,6 +52,7 @@ def initialize(ident = $0, options = Syslog::LOG_PID | Syslog::LOG_CONS, facilit
> >      @facility = facility
> >      @level = Logger::INFO
> >      @mutex = Mutex.new
> > +    @formatter = SimpleFormatter.new
> 
> Unfortunately Logger::Formatter doesn't respond to call.
> 
> irb(main):001:0> require "logger"
> => true
> irb(main):002:0> Logger::Formatter.respond_to? :call
> => false
> This is the reason of the simple formatter. =\
> 
> —
> Reply to this email directly or view it on GitHub.
>