mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-05 00:47:51 -05:00
nice log print
This commit is contained in:
parent
ccbd6da20e
commit
b3c5b6b8a2
@ -24,7 +24,7 @@ func InterfaceToString(value interface{}) string {
|
|||||||
case []byte:
|
case []byte:
|
||||||
return serial.BytesToHexString(value)
|
return serial.BytesToHexString(value)
|
||||||
default:
|
default:
|
||||||
return fmt.Sprint(value)
|
return fmt.Sprintf("%+v", value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user