util_log_color_formatter (util v1.3.5)

View Source

Implementation of coloring handler for the Erlang's logger. See [https://github.com/hauleth/logger_colorful].

== Options ==

  • formatter - parent formatter which will be used for message formatting
  • colors - map of logger:log_level() and colors in form atom

Available colors:

  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white

Available modifiers:

  • fg - set foreground color
  • bg - set background color
  • bright - use bright color

Summary

Functions

check_config(Config0)

format/2