lib/review/logger.rb in review-5.9.0 vs lib/review/logger.rb in review-5.10.0
- old
+ new
@@ -1,10 +1,10 @@
require 'logger'
module ReVIEW
class Logger < ::Logger
def initialize(io = $stderr, progname: '--')
- super(io, progname: progname)
+ super
self.formatter = ->(severity, _datetime, name, msg) { "#{severity} #{name}: #{msg}\n" }
end
def warn(msg, location: nil)
if location