mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
parent
7b2c4bb493
commit
5f4d8e031e
@ -23,3 +23,4 @@ Special thanks to external contributors on this release:
|
|||||||
### IMPROVEMENTS:
|
### IMPROVEMENTS:
|
||||||
|
|
||||||
### BUG FIXES:
|
### BUG FIXES:
|
||||||
|
- [log] \#3060 fix year format
|
||||||
|
@ -90,7 +90,7 @@ func (l tmfmtLogger) Log(keyvals ...interface{}) error {
|
|||||||
// D - first character of the level, uppercase (ASCII only)
|
// D - first character of the level, uppercase (ASCII only)
|
||||||
// [2016-05-02|11:06:44.322] - our time format (see https://golang.org/src/time/format.go)
|
// [2016-05-02|11:06:44.322] - our time format (see https://golang.org/src/time/format.go)
|
||||||
// Stopping ... - message
|
// Stopping ... - message
|
||||||
enc.buf.WriteString(fmt.Sprintf("%c[%s] %-44s ", lvl[0]-32, time.Now().Format("2016-01-02|15:04:05.000"), msg))
|
enc.buf.WriteString(fmt.Sprintf("%c[%s] %-44s ", lvl[0]-32, time.Now().Format("2006-01-02|15:04:05.000"), msg))
|
||||||
|
|
||||||
if module != unknown {
|
if module != unknown {
|
||||||
enc.buf.WriteString("module=" + module + " ")
|
enc.buf.WriteString("module=" + module + " ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user