lib/td/logger/event.rb in td-logger-0.3.10 vs lib/td/logger/event.rb in td-logger-0.3.11

- old
+ new

@@ -40,9 +40,13 @@ def post(action, record={}) TreasureData::Logger.post(action, @attribute.merge(record)) end + def post_with_time(action, record, time) + TreasureData::Logger.post_with_time(action, @attribute.merge(record), time) + end + def self.use(mod) send(:include, mod) end end