rm(tun): debug.PrintStack() in logger

This commit is contained in:
Haruue 2024-03-19 16:56:26 +08:00
parent 0cde4f405f
commit 38d9248acd
No known key found for this signature in database
GPG key ID: F6083B28CBCBC148

View file

@ -1,8 +1,6 @@
package tun
import (
"runtime/debug"
"github.com/sagernet/sing/common/logger"
"go.uber.org/zap"
)
@ -60,7 +58,6 @@ func (l *singLogger) Error(args ...any) {
}
extractSingExceptions(args)
l.zapLogger.Error(l.tag, zap.Any("args", args))
debug.PrintStack()
}
func (l *singLogger) Fatal(args ...any) {