parent
b8d296346c
commit
915bb73e37
2
log.go
2
log.go
|
@ -88,7 +88,7 @@ func DefaultPrinter() Printer {
|
||||||
_, err := fmt.Fprintf(w, "%s [%s]%s%s %s%s\n%s",
|
_, err := fmt.Fprintf(w, "%s [%s]%s%s %s%s\n%s",
|
||||||
d.Time.Format("2006/01/02 15:04:05"),
|
d.Time.Format("2006/01/02 15:04:05"),
|
||||||
level, l.M(sys, FgHiCyan),
|
level, l.M(sys, FgHiCyan),
|
||||||
caller, l.M(d.Message, FgHiGreen), fields,
|
caller, d.Message, l.M(fields, FgHiGreen),
|
||||||
l.M(d.Stack, FgRed),
|
l.M(d.Stack, FgRed),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue