chore: add singMux inbound test for shadowsocks/trojan/vless/vmess

This commit is contained in:
wwqgtxx
2025-04-17 21:07:35 +08:00
parent 30d90d49f0
commit b59f11f7ac
7 changed files with 63 additions and 1 deletions

View File

@@ -65,4 +65,17 @@ func (l singLogger) Panic(args ...any) {
Fatalln(fmt.Sprint(args...))
}
type singInfoToDebugLogger struct {
singLogger
}
func (l singInfoToDebugLogger) InfoContext(ctx context.Context, args ...any) {
Debugln(fmt.Sprint(args...))
}
func (l singInfoToDebugLogger) Info(args ...any) {
Debugln(fmt.Sprint(args...))
}
var SingLogger L.ContextLogger = singLogger{}
var SingInfoToDebugLogger L.ContextLogger = singInfoToDebugLogger{}