Fix ConsoleWriter test
This commit is contained in:
parent
fb469685aa
commit
c62533f761
|
@ -104,7 +104,7 @@ func formatTime(t interface{}) string {
|
||||||
u, _ := t.Int64()
|
u, _ := t.Int64()
|
||||||
return time.Unix(u, 0).Format(time.RFC3339)
|
return time.Unix(u, 0).Format(time.RFC3339)
|
||||||
}
|
}
|
||||||
return ""
|
return "<nil>"
|
||||||
}
|
}
|
||||||
|
|
||||||
func colorize(s interface{}, color int, enabled bool) string {
|
func colorize(s interface{}, color int, enabled bool) string {
|
||||||
|
|
Loading…
Reference in New Issue