ngmoco/syslog_logger — pull request #1 by codeout (2012-03-24 09:50:59+00:00)
Title: Modified syntax of logging methods according to those of Logger class

Updated methods below so that

```ruby
debug('progname'){ 'message' }
```

can generate a syslog like

Mar 24 17:21:09 my_mac rails[17421]: [17:21:09.650780 ] [DEBUG]: message

instead of

Mar 24 17:21:09 my_mac rails[17421]: [17:21:09.650780 ] [DEBUG]: progname

* unkown()
* fatal()
* error()
* warn()
* info()
* debug()

According to API (eg: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/logger/rdoc/Logger.html#method-i-debug)

'debug' looks like:

```ruby
def debug(progname = nil, &block)
add(DEBUG, nil, progname, &block)
end
```

not

```ruby
def debug(message = nil, progname = nil, &block)
add(DEBUG, message, progname, &block)
end
```

My changes are tested with ruby 1.8.7-p358, 1.9.2-p318 and 1.9.3-p125.

thanks