libs/log: [JSON format] include timestamp (#6174)

Closes #6146
This commit is contained in:
Anton Kaliaev
2021-02-25 07:06:24 +00:00
committed by GitHub
parent e9e5026dac
commit fc5a108d53
5 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ const (
func TestParseLogLevel(t *testing.T) {
var buf bytes.Buffer
jsonLogger := log.NewTMJSONLogger(&buf)
jsonLogger := log.NewTMJSONLoggerNoTS(&buf)
correctLogLevels := []struct {
lvl string