lib/logging/appenders/remote-syslog.rb in logging-remote-syslog-0.0.3 vs lib/logging/appenders/remote-syslog.rb in logging-remote-syslog-0.0.4

- old
+ new

@@ -117,10 +117,10 @@ end @map = map end def strip_ansi_colors(message) - message.gsub /\\e\[?.*?[\@-~]/, '' + message.gsub /\e\[?.*?[\@-~]/, '' end def prepare_message(message) @strip_colors ? strip_ansi_colors(message) : message end