summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-05-08 19:17:57 (GMT)
committer Eric Wong <normalperson@yhbt.net>2012-05-08 19:19:51 (GMT)
commiteaa531a0e014aa8e4318e11b793f8665ce1509d0 (patch)
treeb553c40897d0baa3d3eba861047827d47b6b9576
parentb772e23294d82dd0982ed60ae95eab8bfaa8c6bf (diff)
downloadclogger-master.tar.gz
README: updated to use concise format syntaxHEADmaster
It's easier-to-read with the concise syntax.
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index be3de49..cda37c8 100644
--- a/README
+++ b/README
@@ -33,7 +33,7 @@ is customizable so you can specify exactly which fields to log.
# ENV['CLOGGER_PURE'] = '1' # uncomment to disable C extension
require "clogger"
use Clogger,
- :format => Clogger::Format::Combined,
+ :format => :Combined,
:path => "/path/to/log",
:reentrant => true
run YourApplication.new
@@ -42,7 +42,7 @@ If you're using Rails 2.3.x or later, in your config/environment.rb
somewhere inside the "Rails::Initializer.run do |config|" block:
config.middleware.use 'Clogger',
- :format => Clogger::Format::Combined,
+ :format => :Combined,
:path => "/path/to/log",
:reentrant => false