Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type Formatter struct { FieldsOrder []string // default: fields sorted alphabetically TimestampFormat string // default: time.StampMilli = "Jan _2 15:04:05.000" HideKeys bool // show [fieldValue] instead of [fieldKey:fieldValue] NoColors bool // disable colors NoFieldsColors bool // color only level, default is level + fields ShowFullLevel bool // true to show full level [WARNING] instead [WARN] TrimMessages bool // true to trim whitespace on messages }
Formatter - logrus formatter, implements logrus.Formatter
Click to show internal directories.
Click to hide internal directories.