diff options
author | Ketan Padegaonkar <KetanPadegaonkar@gmail.com> | 2012-12-15 11:37:37 +0530 |
---|---|---|
committer | Ketan Padegaonkar <KetanPadegaonkar@gmail.com> | 2012-12-15 11:37:37 +0530 |
commit | 77089abec2fe00113afe9c9f252c567b81db9f73 (patch) | |
tree | f9497e2b908993df4585dd20b6f0ebab68ae0af4 /lib | |
parent | b750625a79cc46fffe6b886320f96e7874497fa0 (diff) | |
download | mixlib-log-77089abec2fe00113afe9c9f252c567b81db9f73.tar.gz |
Ensure that arguments to Mixlib::Log#add are passed as is to all loggers
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mixlib/log.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/log.rb b/lib/mixlib/log.rb index aa477c8..5ff243d 100644 --- a/lib/mixlib/log.rb +++ b/lib/mixlib/log.rb @@ -133,7 +133,7 @@ module Mixlib end def add(severity, message = nil, progname = nil, &block) - loggers.each {|l| l.add(severity, message = nil, progname = nil, &block) } + loggers.each {|l| l.add(severity, message, progname, &block) } end alias :log :add |