lib/semantic_logger.rb in semantic_logger-0.0.2 vs lib/semantic_logger.rb in semantic_logger-0.1.0
- old
+ new
@@ -5,12 +5,10 @@
autoload :Logger, 'semantic_logger/logger'
module Appender
autoload :Logger, 'semantic_logger/appender/logger'
# Only load the MongoDB appender if the Mongo Ruby Driver is loaded
- if defined?(Mongo)
- autoload :MongoDB, 'semantic_logger/appender/mongodb'
- end
+ autoload :MongoDB, 'semantic_logger/appender/mongodb'
end
end
if defined?(Rails)
require 'semantic_logger/railtie'