This gem provides a logging device for the lumberjack gem that will log to syslog, the centralized system logging facility. See http://en.wikipedia.org/wiki/Syslog for more information on syslog.
require 'lumberjack_syslog_device'
device = Lumberjack::SyslogDevice.new
logger = Lumberjack::Logger.new(device)
logger.info("Write me to syslog!")
See the docs in the Lumberjack::SyslogDevice file for more details.
Add this line to your application's Gemfile:
gem 'lumberjack_syslog_device'
And then execute:
$ bundle
Or install it yourself as:
$ gem install lumberjack_syslog_device
Open a pull request on GitHub.
Please use the standardrb syntax and lint your code with standardrb --fix
before submitting.
The gem is available as open source under the terms of the MIT License.