Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultLogFormatter = logging.MustStringFormatter("%{color}%{time:2006-01-02 15:04} %{shortfunc} ▶ %{level:.4s} %{id:03x}%{color:reset} %{message}") LowVerboseLogFormatter = logging.MustStringFormatter("%{time:2006-01-02 15:04} ▶ %{level:.4s} %{message}") VerboseLogFilePathFormatter = logging.MustStringFormatter("%{color}%{time:2006-01-02 15:04} %{longpkg} %{longfunc} ▶ %{level:.4s} %{id:03x}%{color:reset} %{longfile} %{message}") )
Define the standard formatter
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.