Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogrusFormatter = LogrusFormatter{ TimeFormatter: "2006-01-02 15:04:05", FieldPrefix: "[", FieldSuffix: "]", FieldSeparator: global.Space, }
Functions ¶
This section is empty.
Types ¶
type LogrusFormatter ¶
type LogrusFormatter struct { TimeFormatter string FieldPrefix string FieldSuffix string FieldSeparator string }
func NewLogrusFormatter ¶
func NewLogrusFormatter() *LogrusFormatter
Click to show internal directories.
Click to hide internal directories.