mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-06 05:17:37 +03:00
Refactor log
This commit is contained in:
parent
b47f3adbb3
commit
4fc763cfa2
46 changed files with 760 additions and 457 deletions
|
@ -20,7 +20,7 @@ type Socks struct {
|
|||
authenticator auth.Authenticator
|
||||
}
|
||||
|
||||
func NewSocks(ctx context.Context, router adapter.Router, logger log.Logger, tag string, options option.SimpleInboundOptions) *Socks {
|
||||
func NewSocks(ctx context.Context, router adapter.Router, logger log.ContextLogger, tag string, options option.SimpleInboundOptions) *Socks {
|
||||
inbound := &Socks{
|
||||
myInboundAdapter{
|
||||
protocol: C.TypeSocks,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue