mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-10 17:13:02 +00: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
@ -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 New Issue
Block a user