-
Notifications
You must be signed in to change notification settings - Fork 21
Additional adapters syslog
rudionrails edited this page Apr 3, 2012
·
2 revisions
The Syslog adapter for Yell is available as separate gem.
System wide:
gem install yell-adapters-syslog
Or in your Gemfile:
gem "yell-adapters-syslog"
Since the yell is a gem dependency, it will be installed automatically with it.
logger = Yell.new :syslog
logger.info "Hello World"
# Check your syslog for the received message.
Or alternatively with the block syntax:
logger = Yell.new do |l|
l.adapter :syslog
end
logger.info 'Hello World!'
TODO Further examples will be available soon