Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log *log.Logger
Functions ¶
func DefaultCommonFields ¶
DefaultCommonFields returns preset fields for each log message. All default common fields MUST be prefixed by an underscore to avoid conflict with fields added later.
Types ¶
type CustomLogrusTextFormatter ¶
type CustomLogrusTextFormatter struct { LogrusTextFormatter logrus.TextFormatter CommonFields logrus.Fields }
Click to show internal directories.
Click to hide internal directories.