Improve dns log

This commit is contained in:
世界
2022-08-03 20:17:05 +08:00
parent 07eff298ab
commit b1fa60eabc
12 changed files with 154 additions and 66 deletions
+1
View File
@@ -54,6 +54,7 @@ type simpleLogger struct {
}
func (l *simpleLogger) Log(ctx context.Context, level Level, args []any) {
level = OverrideLevelFromContext(level, ctx)
if level > l.level {
return
}