lib/tailog/watch_methods.rb in tailog-0.3.4 vs lib/tailog/watch_methods.rb in tailog-0.3.5
- old
+ new
@@ -17,10 +17,10 @@
content = ""
content << "[#{datetime.strftime("%Y-%m-%d %H:%M:%S")}]"
content << "[#{Tailog::WatchMethods.request_id}]" if Tailog::WatchMethods.request_id
content << " #{severity.rjust(5)}"
content << " (#{progname})" if progname
- content << ": #{message.gsub(/\\n\\s*/, " ")}"
+ content << ": #{message.gsub(/\n\s*/, " ")}"
content << "\n"
content
end
@logger
end