logger/slog: fixed time len field #389

Merged
vtolstov merged 2 commits from logger-slog into v3 2024-12-24 20:51:48 +03:00
Showing only changes of commit d160664ef1 - Show all commits

View File

@ -50,7 +50,7 @@ func TestStacktrace(t *testing.T) {
l.Error(ctx, "msg1", errors.New("err"))
if !bytes.Contains(buf.Bytes(), []byte(`slog_test.go:29`)) {
if !bytes.Contains(buf.Bytes(), []byte(`slog_test.go:51`)) {
t.Fatalf("logger error not works, buf contains: %s", buf.Bytes())
}
}