|
|
@@ -21,7 +21,7 @@ type Config struct {
|
|
21
|
21
|
func New(c *Config) *log.Logger {
|
|
22
|
22
|
log.SetFormatter(&nested.Formatter{
|
|
23
|
23
|
// HideKeys: true,
|
|
24
|
|
- TimestampFormat: "2006-01-02 15:04:05",
|
|
|
24
|
+ TimestampFormat: "[2006-01-02 15:04:05]",
|
|
25
|
25
|
NoColors: true,
|
|
26
|
26
|
NoFieldsColors: true,
|
|
27
|
27
|
//FieldsOrder: []string{"name", "age"},
|