parent
24df729eb6
commit
32b758725e
4
log.go
4
log.go
|
@ -38,7 +38,7 @@ type Ldata struct {
|
|||
|
||||
// Stack only eval when !PROD and {DEBUG, ERROR}
|
||||
Stack string
|
||||
Fields *H
|
||||
Fields H
|
||||
|
||||
Color bool
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ func (l *Logger) output(lev Llevel, depth int, fields H, v ...interface{}) {
|
|||
}
|
||||
msg := fmt.Sprint(v...)
|
||||
data := &Ldata{
|
||||
Fields: &fields,
|
||||
Fields: fields,
|
||||
Message: msg,
|
||||
Level: lev,
|
||||
Time: time.Now(),
|
||||
|
|
Loading…
Reference in New Issue