mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-05 21:07:38 +03:00
Improve dns log
This commit is contained in:
parent
f6f3390490
commit
8e4de29409
12 changed files with 154 additions and 66 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue