Improve dns log

This commit is contained in:
世界
2022-08-03 18:55:39 +08:00
parent 07eff298ab
commit b1fa60eabc
12 changed files with 154 additions and 66 deletions

View File

@@ -71,6 +71,7 @@ type observableLogger struct {
}
func (l *observableLogger) Log(ctx context.Context, level Level, args []any) {
level = OverrideLevelFromContext(level, ctx)
if level > l.level {
return
}