Skip to main content

Module format

Module format 

Source
Expand description

Custom coloured log formatter for terminal output.

Provides a ColouredFormatter implementing tracing-subscriber’s FormatEvent trait with HyperI’s standard colour scheme:

  • Timestamp: dim
  • Level: ERROR=red bold, WARN=yellow, INFO=green, DEBUG=blue, TRACE=magenta dim
  • Target: cyan dim
  • Source location: dim
  • Field names: bold
  • Message and values: default

Structs§

ColouredFormatter
Coloured log event formatter for terminal output.