mirror of https://github.com/sirupsen/logrus.git
fix example
This commit is contained in:
parent
bf1fb70b2b
commit
b9eceae8f6
|
@ -62,7 +62,7 @@ type TextFormatter struct {
|
|||
|
||||
// FieldMap allows users to customize the names of keys for default fields.
|
||||
// As an example:
|
||||
// formatter := &JSONFormatter{
|
||||
// formatter := &TextFormatter{
|
||||
// FieldMap: FieldMap{
|
||||
// FieldKeyTime: "@timestamp",
|
||||
// FieldKeyLevel: "@level",
|
||||
|
|
Loading…
Reference in New Issue