lib/semantic_logger.rb in semantic_logger-2.0.0 vs lib/semantic_logger.rb in semantic_logger-2.1.0
- old
+ new
@@ -1,8 +1,9 @@
# Place requires here to prevent issues on JRuby with global.require.lock=true
require 'thread'
require 'semantic_logger/version'
+require 'semantic_logger/semantic_logger'
module SemanticLogger
autoload :Base, 'semantic_logger/base'
autoload :Logger, 'semantic_logger/logger'
autoload :Loggable, 'semantic_logger/loggable'
@@ -11,9 +12,6 @@
autoload :Base, 'semantic_logger/appender/base'
autoload :File, 'semantic_logger/appender/file'
autoload :Wrapper, 'semantic_logger/appender/wrapper'
autoload :MongoDB, 'semantic_logger/appender/mongodb'
end
-
- # Logging levels in order with most detailed logging first
- LEVELS = [:trace, :debug, :info, :warn, :error, :fatal]
end