允许不同级别的写入info
This commit is contained in:
+1
-1
@@ -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{}),
|
||||
|
||||
Reference in New Issue
Block a user