lib/heavylog.rb in heavylog-0.0.3 vs lib/heavylog.rb in heavylog-0.0.4

- old
+ new

@@ -89,9 +89,10 @@ formatted = Heavylog.formatter.call(request) Heavylog.logger.send(Heavylog.log_level, formatted) end def config + return OrderedOptions.new if !application application.config.heavylog end end require 'heavylog/railtie' if defined?(Rails)