mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-06-08 05:19:56 +00:00
rm(tun): debug.PrintStack() in logger
This commit is contained in:
parent
0cde4f405f
commit
38d9248acd
@ -1,8 +1,6 @@
|
|||||||
package tun
|
package tun
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"runtime/debug"
|
|
||||||
|
|
||||||
"github.com/sagernet/sing/common/logger"
|
"github.com/sagernet/sing/common/logger"
|
||||||
"go.uber.org/zap"
|
"go.uber.org/zap"
|
||||||
)
|
)
|
||||||
@ -60,7 +58,6 @@ func (l *singLogger) Error(args ...any) {
|
|||||||
}
|
}
|
||||||
extractSingExceptions(args)
|
extractSingExceptions(args)
|
||||||
l.zapLogger.Error(l.tag, zap.Any("args", args))
|
l.zapLogger.Error(l.tag, zap.Any("args", args))
|
||||||
debug.PrintStack()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (l *singLogger) Fatal(args ...any) {
|
func (l *singLogger) Fatal(args ...any) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user