File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ Human-readable log formatter, converts _logrus_ fields to a nested structure:
1111
1212``` go
1313type Formatter struct {
14- FieldsOrder []string // default: fields sorted alphabetically
15- TimestampFormat string // default: time.StampMilli = "Jan _2 15:04:05.000"
16- HideKeys bool // show [fieldValue] instead of [fieldKey:fieldValue]
17- NoColors bool // disable colors
18- NoFieldsColors bool // color only level, default is level + fields
19- ShowFullLevel bool // true to show full level [WARNING] instead [WARN]
14+ FieldsOrder []string // by default fields are sorted alphabetically
15+ TimestampFormat string // by default time.StampMilli = "Jan _2 15:04:05.000" is used
16+ HideKeys bool // to show only [fieldValue] instead of [fieldKey:fieldValue]
17+ NoColors bool // to disable all colors
18+ NoFieldsColors bool // to disable colors only on fields and keep levels colored
19+ ShowFullLevel bool // to show full level (e.g. [WARNING] instead of [WARN])
2020}
2121```
2222
You can’t perform that action at this time.
0 commit comments