README.rdoc in syslogger-1.2.5 vs README.rdoc in syslogger-1.2.6
- old
+ new
@@ -1,14 +1,17 @@
= syslogger
-A drop-in replacement for the standard Logger Ruby library, that logs to the syslog instead of a log file.
-Contrary to the SyslogLogger library, you can specify the facility and the syslog options.
+A drop-in replacement for the standard Logger Ruby library, that logs to the
+syslog instead of a log file. Contrary to the SyslogLogger library, you can
+specify the facility and the syslog options.
== Installation
+
$ gem install syslogger
== Usage
+
require 'syslogger'
# Will send all messages to the local0 facility, adding the process id in the message
logger = Syslogger.new("app_name", Syslog::LOG_PID, Syslog::LOG_LOCAL0)
@@ -20,30 +23,29 @@
logger.warn "will appear"
Documentation available at <http://rdoc.info/github/crohr/syslogger/master/file/README.rdoc>.
== Development
-* Install +bundler+:
- $ gem install bundler
-
* Install development dependencies:
- $ bundle install
+ $ gem install rake rdoc rspec
* Run tests:
- $ bundle exec rake
+ $ rake spec
* Package (do not forget to increment <tt>Syslogger:VERSION</tt>):
$ gem build syslogger.gemspec
== Contributions
+
* crhym3
* theflow
* smulube
* levent
+* Flameeyes
== Copyright
Copyright (c) 2010 Cyril, INRIA Rennes-Bretagne Atlantique. See LICENSE for details.