允许不同级别的写入info

This commit is contained in:
yun
2026-10-05 19:30:40 +08:00
parent 7e1b474823
commit a9adc11fad
6 changed files with 600 additions and 32 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ func TestLogger(t *testing.T) {
l := loggerx.NewLogger(
context.Background(),
loggerx.SetErrorToInfo(),
loggerx.SetAllLevelToInfo(),
loggerx.SetToConsole(),
loggerx.SetTimeZone(time.UTC),
// loggerx.SetExtraDriver(b, Print{}),