lib/loggery/railtie.rb in loggery-0.1.0 vs lib/loggery/railtie.rb in loggery-0.2.0

- old
+ new

@@ -1,6 +1,9 @@ # frozen_string_literal: true +require "rails/railtie" +require "rails/rack/logger" + module Loggery module LogstashSetup def self.setup(config) config.logstash.type = :file config.logstash.path = config.loggery.log_file