lib/semantic_logger/appender/base.rb in semantic_logger-2.3.0 vs lib/semantic_logger/appender/base.rb in semantic_logger-2.3.1
- old
+ new
@@ -62,14 +62,14 @@
level_color = case log.level
when :trace
colors::MAGENTA
when :debug
- colors::CYAN
- when :info
colors::GREEN
+ when :info
+ colors::CYAN
when :warn
- colors::YELLOW
+ colors::BOLD
when :error, :fatal
colors::RED
end
"#{SemanticLogger::Appender::Base.formatted_time(log.time)} #{level_color}#{colors::BOLD}#{log.level.to_s[0..0].upcase}#{colors::CLEAR} [#{$$}:#{log.thread_name}] #{tags}#{duration_str}#{level_color}#{log.name}#{colors::CLEAR} -- #{message}"
\ No newline at end of file