summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2018-02-28 14:39:43 +0000
committerGitHub <noreply@github.com>2018-02-28 14:39:43 +0000
commit38b2ec3bcbbb63516cc8aa8867dfe1d242d2ea22 (patch)
tree54745914a48b6a6536443a695ffc3d39c56e24ec /lib
parentcf0d1b987dc8ee8bc64e6b2b97ad6bd53d1c2332 (diff)
parent7be3c2e2f1b2bb85157cc3124fe6adb90197c0d1 (diff)
downloadmixlib-log-38b2ec3bcbbb63516cc8aa8867dfe1d242d2ea22.tar.gz
Merge pull request #27 from olleolleolle/feature/logger-methods-to-return-nil
Logging methods (debug, info, warn, error, fatal) all return nil
Diffstat (limited to 'lib')
-rw-r--r--lib/mixlib/log/logging.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mixlib/log/logging.rb b/lib/mixlib/log/logging.rb
index 537e1de..626237a 100644
--- a/lib/mixlib/log/logging.rb
+++ b/lib/mixlib/log/logging.rb
@@ -45,6 +45,7 @@ module Mixlib
level = LEVELS[method_name]
define_method(method_name) do |msg = nil, data: {}, &block|
pass(level, msg, data: data, &block)
+ nil
end
end