lib/lorekeeper/fast_logger.rb in lorekeeper-1.4.0 vs lib/lorekeeper/fast_logger.rb in lorekeeper-1.4.1

- old
+ new

@@ -19,10 +19,10 @@ @level = DEBUG @iodevice = LogDevice.new(file) @file = file # We only keep this so we can inspect where we are sending the logs end - LOGGING_METHODS = %i(debug info warn error fatal) + LOGGING_METHODS = [:debug, :info, :warn, :error, :fatal] METHOD_SEVERITY_MAP = { debug: DEBUG, info: INFO, warn: WARN, error: ERROR, fatal: FATAL } # We define the behaviour of all the usual logging methods # We support a string as a parameter and also a block LOGGING_METHODS.each do |method_name|