mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2025-02-23 20:52:15 +08:00
pref: uid style in log
This commit is contained in:
parent
c77993eed3
commit
2f95d56a12
@ -102,7 +102,7 @@ func (m *Metadata) SourceDetail() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if m.Process != "" && m.Uid != 0 {
|
if m.Process != "" && m.Uid != 0 {
|
||||||
return fmt.Sprintf("%s(%s:%d)", m.SourceAddress(), m.Process, m.Uid)
|
return fmt.Sprintf("%s(%s, uid=%d)", m.SourceAddress(), m.Process, m.Uid)
|
||||||
} else if m.Uid != 0 {
|
} else if m.Uid != 0 {
|
||||||
return fmt.Sprintf("%s(%d)", m.SourceAddress(), m.Uid)
|
return fmt.Sprintf("%s(%d)", m.SourceAddress(), m.Uid)
|
||||||
} else if m.Process != "" {
|
} else if m.Process != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user