lib/timber/logger.rb in timber-1.0.10 vs lib/timber/logger.rb in timber-1.0.11

- old
+ new

@@ -138,10 +138,11 @@ private def to_msgpack(msg) begin msg.to_msgpack rescue NoMethodError - JSON.parse(JSON.generate(msg)).to_msgpack + json = JSON.generate(msg) + JSON.parse(json).to_msgpack end end end # Creates a new Timber::Logger instances. Accepts the same arguments as `::Logger.new`. \ No newline at end of file