diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-06-26 14:19:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 14:19:18 -0700 |
commit | d11a353e5e6aa2ac91017b85ea8968708bf259df (patch) | |
tree | 2e26001d6cf3a77164da060abc800e92b63ac6aa /lib | |
parent | 705a80f60ec71f76f2b7da7927538129ca27aca3 (diff) | |
parent | fc39f1df4341ab39302814b81ed80c0d670cf1d8 (diff) | |
download | mixlib-log-d11a353e5e6aa2ac91017b85ea8968708bf259df.tar.gz |
Merge pull request #41 from chef/lcg/remove-hashrockets
remove hashrocket syntax
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mixlib/log/logging.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/log/logging.rb b/lib/mixlib/log/logging.rb index 626237a..524900b 100644 --- a/lib/mixlib/log/logging.rb +++ b/lib/mixlib/log/logging.rb @@ -29,7 +29,7 @@ module Mixlib 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 |