lib/raven/logger.rb in sentry-raven-2.2.0 vs lib/raven/logger.rb in sentry-raven-2.3.0

- old
+ new

@@ -6,9 +6,10 @@ LOG_PREFIX = "** [Raven] ".freeze PROGNAME = "sentry".freeze def initialize(*) super + @level = ::Logger::INFO original_formatter = ::Logger::Formatter.new @default_formatter = proc do |severity, datetime, _progname, msg| msg = "#{LOG_PREFIX}#{msg}" original_formatter.call(severity, datetime, PROGNAME, msg) end