mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-22 23:13:01 +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 {
|
func (m *AccessMessage) String() string {
|
||||||
builder := strings.Builder{}
|
builder := strings.Builder{}
|
||||||
|
builder.WriteString("from")
|
||||||
|
builder.WriteByte(' ')
|
||||||
builder.WriteString(serial.ToString(m.From))
|
builder.WriteString(serial.ToString(m.From))
|
||||||
builder.WriteByte(' ')
|
builder.WriteByte(' ')
|
||||||
builder.WriteString(string(m.Status))
|
builder.WriteString(string(m.Status))
|
||||||
|
Loading…
Reference in New Issue
Block a user