Syslog::Logger patched to support #<< and setting facility.
Add this line to your application's Gemfile:
gem 'syslog-logger-facilitated'
And then execute:
$ bundle
Or install it yourself as:
$ gem install syslog-logger-facilitated
require 'syslog/logger/facilitated'
logger = Syslog::Logger::Facilitated.new('progname', Syslog::LOG_LOCAL0)
logger << 'foo' # goes to :info
- Fork it ( http://github.com//syslog-logger-facilitated/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request