lib/timber/logger.rb in timber-2.5.1 vs lib/timber/logger.rb in timber-2.6.0.pre.beta1

- old
+ new

@@ -45,18 +45,14 @@ tags = tags.clone tags.push(logged_obj.delete(:tag)) if logged_obj.key?(:tag) tags.concat(logged_obj.delete(:tags)) if logged_obj.key?(:tags) tags.uniq! - # Extract the time_ms - time_ms = logged_obj.delete(:time_ms) - # Build the event event = Events.build(logged_obj) message = event ? event.message : logged_obj[:message] - LogEntry.new(level, time, progname, message, context_snapshot, event, tags: tags, - time_ms: time_ms) + LogEntry.new(level, time, progname, message, context_snapshot, event, tags: tags) else LogEntry.new(level, time, progname, logged_obj, context_snapshot, nil, tags: tags) end end \ No newline at end of file