lib/lita/logger.rb in lita-3.1.0 vs lib/lita/logger.rb in lita-3.2.0
- old
+ new
@@ -7,10 +7,10 @@
# @param level [Symbol, String] The name of the log level to use.
# @return [::Logger] The {::Logger} object.
def get_logger(level)
logger = ::Logger.new(STDERR)
logger.level = get_level_constant(level)
- logger.formatter = proc do |severity, datetime, progname, msg|
+ logger.formatter = proc do |severity, datetime, _progname, msg|
"[#{datetime.utc}] #{severity}: #{msg}\n"
end
logger
end