Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndentLogger ¶
IndentLogger receives a context with a previously set logger (SetLoggerValue), and returns a copy of it but with a logger with one extra indentation.
Types ¶
type ColorFormatter ¶
type ColorFormatter struct { // Indent defines by how much to indent each log line Indent int }
ColorFormatter is a formatter that uses different colors for each level.
Click to show internal directories.
Click to hide internal directories.