lib/timber/log_entry.rb in timber-1.0.11 vs lib/timber/log_entry.rb in timber-1.0.12
- old
+ new
@@ -49,9 +49,13 @@
def to_json(options = {})
as_json(options).to_json
end
+ def to_msgpack(*args)
+ as_json.to_msgpack(*args)
+ end
+
private
def formatted_dt
@formatted_dt ||= time.iso8601(DT_PRECISION)
end
end
\ No newline at end of file