lib/td/logger/tdlog.rb in td-logger-0.1.1 vs lib/td/logger/tdlog.rb in td-logger-0.1.2
- old
+ new
@@ -12,17 +12,15 @@
require 'msgpack'
require 'time'
require 'net/http'
require 'cgi'
require 'logger'
+ require 'td/client'
@tag = tag
@auto_create_table = auto_create_table
@logger = ::Logger.new(STDOUT)
- # TODO
- gem 'td'
- require 'td/client'
@client = TreasureData::Client.new(apikey)
@mutex = Mutex.new
@cond = ConditionVariable.new
@map = {} # (db,table) => buffer:String