mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-22 11:23:32 +02:00
Log: Add "from" before source address
https://github.com/XTLS/Xray-core/pull/3682#issuecomment-2292600144
This commit is contained in:
parent
b612da26eb
commit
11b04807b9
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ type AccessMessage struct {
|
|||
|
||||
func (m *AccessMessage) String() string {
|
||||
builder := strings.Builder{}
|
||||
builder.WriteString("from")
|
||||
builder.WriteByte(' ')
|
||||
builder.WriteString(serial.ToString(m.From))
|
||||
builder.WriteByte(' ')
|
||||
builder.WriteString(string(m.Status))
|
||||
|
|
Loading…
Reference in a new issue