about summary refs log tree commit homepage
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-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