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

Closes #6146
This commit is contained in:
mergify[bot]
2021-02-25 11:27:49 +04:00
committed by GitHub
parent 55ae781efa
commit 28ce355656
5 changed files with 17 additions and 6 deletions

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