fix: log prefix display not completed

This commit is contained in:
Senis John 2022-12-04 08:43:10 +08:00
parent 608764a8a0
commit 212f0ff135
No known key found for this signature in database
GPG Key ID: 845E9E4727C3E1A4
3 changed files with 4 additions and 7 deletions

3
.gitignore vendored
View File

@ -14,4 +14,5 @@ main/config.yml
./vscode
.idea/*
.DS_Store
*.bak
*.bak
go.work*

View File

@ -2,8 +2,6 @@ package limiter
import "github.com/xtls/xray-core/common/errors"
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
return errors.New(values...)
}

View File

@ -2,8 +2,6 @@ package rule
import "github.com/xtls/xray-core/common/errors"
type errPathObjHolder struct{}
func newError(values ...interface{}) *errors.Error {
return errors.New(values...).WithPathObj(errPathObjHolder{})
return errors.New(values...)
}