Skip to content

A logging device for the lumberjack gem that writes log entries to syslog.

License

Notifications You must be signed in to change notification settings

bdurand/lumberjack_syslog_device

Repository files navigation

Lumberjack Syslog Device

Continuous Integration Regression Test Ruby Style Guide Gem Version

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.

About

A logging device for the lumberjack gem that writes log entries to syslog.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages