diff --git a/docs/customize.md b/docs/customize.md index 1f26db8..99fc0d3 100644 --- a/docs/customize.md +++ b/docs/customize.md @@ -74,7 +74,7 @@ Create a custom formatter: class MyFormatter < SemanticLogger::Formatters::Color # Return the complete log level name in uppercase def level - "#{color}log.level.upcase#{clear}" + "#{color}#{log.level.upcase}#{color_map.clear}" end end ~~~