lib/semantic_logger/appender/logger.rb in semantic_logger-0.3.2 vs lib/semantic_logger/appender/logger.rb in semantic_logger-0.3.3
- old
+ new
@@ -52,10 +52,9 @@
end
end
str = "#{log.time.strftime("%Y-%m-%d %H:%M:%S")}.#{"%03d" % (log.time.usec/1000)} #{log.level.to_s[0..0].upcase} [#{$$}:#{log.thread_name}] #{tags}#{log.name} -- #{message}"
str << " (#{'%.1f' % log.duration}ms)" if log.duration
- str << "\n"
str
end
end
# Pass log calls to the underlying Rails, log4j or Ruby logger