lib/semantic_logger.rb in semantic_logger-1.0.1 vs lib/semantic_logger.rb in semantic_logger-2.0.0
- old
+ new
@@ -1,9 +1,7 @@
# Place requires here to prevent issues on JRuby with global.require.lock=true
require 'thread'
-require 'thread_safe'
-require 'sync_attr'
require 'semantic_logger/version'
module SemanticLogger
autoload :Base, 'semantic_logger/base'
autoload :Logger, 'semantic_logger/logger'
@@ -16,10 +14,6 @@
autoload :MongoDB, 'semantic_logger/appender/mongodb'
end
# Logging levels in order with most detailed logging first
LEVELS = [:trace, :debug, :info, :warn, :error, :fatal]
-end
-
-if defined?(Rails)
- require 'semantic_logger/railtie'
end