lib/timber/overrides/logger_add.rb in timber-1.1.13 vs lib/timber/overrides/logger_add.rb in timber-1.1.14
- old
+ new
@@ -19,12 +19,9 @@
if message.is_a?(::Timber::Event)
if self.is_a?(::Timber::Logger)
_timber_original_add(severity, message, progname)
else
- if message.message.nil?
- STDOUT.write message.inspect
- end
_timber_original_add(severity, message.message, progname)
end
else
_timber_original_add(severity, message, progname)
end
\ No newline at end of file