lib/log_tribe/loggers.rb in log_tribe-0.3.0 vs lib/log_tribe/loggers.rb in log_tribe-0.3.1

- old
+ new

@@ -149,11 +149,11 @@ next unless logger if logger.respond_to?(:add) logger.add(severity, message, progname, &block) elsif defined?(::Fluent::Logger) && logger.respond_to?(:post) # FluentLogger - logger.post(@tag_name || 'none'.freeze, + logger.post(@tag_name || 'none', message: format_message(format_severity(severity), Time.now, progname, message) ) end end end @@ -168,10 +168,10 @@ next unless logger if logger.respond_to?(:<<) logger << msg elsif defined?(::Fluent::Logger) && logger.respond_to?(:post) # FluentLogger - logger.post(@tag_name || 'none'.freeze, message: msg) + logger.post(@tag_name || 'none', message: msg) end end end #