mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust glog format
This commit is contained in:
parent
2807fe08fc
commit
3d2bbf96d2
|
@ -576,8 +576,8 @@ func (l *loggingT) formatHeader(s severity, file string, line int) *buffer {
|
||||||
buf.twoDigits(12, second)
|
buf.twoDigits(12, second)
|
||||||
buf.tmp[14] = '.'
|
buf.tmp[14] = '.'
|
||||||
buf.nDigits(6, 15, now.Nanosecond()/1000, '0')
|
buf.nDigits(6, 15, now.Nanosecond()/1000, '0')
|
||||||
buf.tmp[20] = ' '
|
buf.tmp[21] = ' '
|
||||||
buf.Write(buf.tmp[:21])
|
buf.Write(buf.tmp[:22])
|
||||||
buf.WriteString(file)
|
buf.WriteString(file)
|
||||||
buf.tmp[0] = ':'
|
buf.tmp[0] = ':'
|
||||||
n := buf.someDigits(1, line)
|
n := buf.someDigits(1, line)
|
||||||
|
|
Loading…
Reference in a new issue