lib/semantic_logger.rb in semantic_logger-0.9.0 vs lib/semantic_logger.rb in semantic_logger-0.10.0
- old
+ new
@@ -1,7 +1,13 @@
+# Place requires here to prevent issues on JRuby with global.require.lock=true
+require 'thread'
+require 'thread_safe'
+require 'sync_attr'
+
module SemanticLogger
- autoload :Base, 'semantic_logger/base'
- autoload :Logger, 'semantic_logger/logger'
+ autoload :Base, 'semantic_logger/base'
+ autoload :Logger, 'semantic_logger/logger'
+ autoload :Attribute, 'semantic_logger/attribute'
module Appender
autoload :Base, 'semantic_logger/appender/base'
autoload :File, 'semantic_logger/appender/file'
autoload :Wrapper, 'semantic_logger/appender/wrapper'