From 86699fa42105c48e7d4c3cf6e16cca4417bf0a06 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 6 Jun 2010 07:46:25 +0000 Subject: README: document CLOGGER_PURE environment variable There may also be some MRI users uncomfortable running C extensions. --- README | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README') diff --git a/README b/README index 0d15292..c2f5155 100644 --- a/README +++ b/README @@ -24,10 +24,15 @@ is customizable so you can specify exactly which fields to log. \Clogger in a multi-threaded server, and even multiple Cloggers logging to different locations and different formats in the same process. +* Pure Ruby version for non-MRI versions of Ruby (or via CLOGGER_PURE=1 + in the environment). The optional C extension is loaded by default + and supported under MRI 1.8.7, 1.9.1, and 1.9.2. + == SYNOPSIS \Clogger may be loaded as Rack middleware in your config.ru: + # ENV['CLOGGER_PURE'] = '1' # uncomment to disable C extension require "clogger" use Clogger, :format => Clogger::Format::Combined, -- cgit v1.2.3-24-ge0c7