logs-fix-8
This commit is contained in:
parent
be58bb8c6d
commit
0b0ab12bf0
|
@ -21,5 +21,5 @@ func (u LogTextFormatter) Format(e *logrus.Entry) ([]byte, error) {
|
||||||
file := filepath.Base(e.Caller.File)
|
file := filepath.Base(e.Caller.File)
|
||||||
line := e.Caller.Line
|
line := e.Caller.Line
|
||||||
|
|
||||||
return []byte(fmt.Sprintf("%s [%s] %s:%d %s\n", timestamp, level, file, line, message)), nil
|
return []byte(fmt.Sprintf("%s [%s] %s\n", timestamp, level, message)), nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user