lib/mixlib/log/logging.rb in mixlib-log-2.0.4 vs lib/mixlib/log/logging.rb in mixlib-log-2.0.9

- old
+ new

@@ -27,10 +27,10 @@ def to_label(sev) SEV_LABEL[sev + 1] || -"ANY" end - LEVELS = { :trace => TRACE, :debug => DEBUG, :info => INFO, :warn => WARN, :error => ERROR, :fatal => FATAL }.freeze + LEVELS = { trace: TRACE, debug: DEBUG, info: INFO, warn: WARN, error: ERROR, fatal: FATAL }.freeze LEVEL_NAMES = LEVELS.invert.freeze attr_accessor :metadata def pass(severity, args, progname = nil, data: {}, &block)