From eaa531a0e014aa8e4318e11b793f8665ce1509d0 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 8 May 2012 12:17:57 -0700 Subject: README: updated to use concise format syntax It's easier-to-read with the concise syntax. --- README | 4 ++-- 1 file 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 -- cgit v1.2.3-24-ge0c7