lib/td/logger.rb in td-logger-0.2.5 vs lib/td/logger.rb in td-logger-0.2.6
- old
+ new
@@ -10,10 +10,9 @@
def self.open_agent(tag, agent_host, agent_port)
Fluent::Logger::FluentLogger.open(tag, agent_host, agent_port)
end
def self.log(tag, record)
- record['time'] ||= Time.now.to_i
Fluent::Logger.post(tag, record)
end
end