lib/logging.rb in logging-0.9.2 vs lib/logging.rb in logging-0.9.3
- old
+ new
@@ -1,17 +1,20 @@
# Equivalent to a header guard in C/C++
# Used to prevent the class/module from being loaded more than once
unless defined? Logging
+require 'thread'
+begin require 'fastthread'; rescue LoadError; end
+
# TODO: Windows Log Service appender
#
#
module Logging
# :stopdoc:
- VERSION = '0.9.2'
+ VERSION = '0.9.3'
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
WIN32 = %r/djgpp|(cyg|ms|bcc)win|mingw/ =~ RUBY_PLATFORM
LEVELS = {}
LNAMES = []