Lumberjack Syslog Device

Continuous Integration Regression Test Ruby Style Guide

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.

Usage

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.

Installation

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

Contributing

Open a pull request on GitHub.

Please use the standardrb syntax and lint your code with standardrb --fix before submitting.

License

The gem is available as open source under the terms of the MIT License.