about summary refs log tree commit homepage
path: root/lib/clogger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clogger.rb')
-rw-r--r--lib/clogger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clogger.rb b/lib/clogger.rb
index 5b035d9..ca102ba 100644
--- a/lib/clogger.rb
+++ b/lib/clogger.rb
@@ -151,7 +151,7 @@ end
 require 'clogger/format'
 
 begin
-  raise LoadError if ENV['CLOGGER_PURE']
+  raise LoadError if ENV['CLOGGER_PURE'].to_i != 0
   require 'clogger_ext'
 rescue LoadError
   require 'clogger/pure'