Sha256: bcf210648d27f669c07d51ee9c7eeff09bf40b139efb99274bc8c9318ded3fda
Contents?: true
Size: 1010 Bytes
Versions: 1
Compression:
Stored size: 1010 Bytes
Contents
# logging/remote-syslog logging/remote-syslog is a remote syslog appender for use with the Logging library. ![Travis CI Status](https://secure.travis-ci.org/BIAINC/logging-remote-syslog.png) ## Installation Add this line to your application's Gemfile: ```bash gem 'logging-remote-syslog' ``` And then execute: ```bash $ bundle ``` Or install it yourself as: ```bash $ gem install logging-remote-syslog ``` ## Usage ``` require 'logging' require 'logging/remote-syslog' logger = Logging.logger['MyApp'] logger.add_appenders( Logging.appenders.remote_syslog(ident, syslog_server: syslog_host, port: syslog_port) ) logger.level = :info logger.info 'MyApp Message' ``` ## Tests ``` rake ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Write code and add _tests_ 4. Commit your changes (`git commit -am 'Added some feature'`) 5. Push to the branch (`git push origin my-new-feature`) 6. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
logging-remote-syslog-0.0.1 | README.md |