lib/fluent/logger/logger_base.rb in fluent-logger-0.4.7 vs lib/fluent/logger/logger_base.rb in fluent-logger-0.4.8

- old
+ new

@@ -18,10 +18,10 @@ module Fluent module Logger class LoggerBase def self.open(*args, &block) - Fluent::Logger.open(self, *args, &block) + Fluent::Logger.open(*args, &block) end def post(tag, map) raise ArgumentError.new("Second argument should kind of Hash (tag: #{map})") unless map.kind_of? Hash post_with_time(tag, map, Time.now)