1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 23:47:07 -05:00

nice log print

This commit is contained in:
Darien Raymond 2016-11-27 08:47:11 +01:00
parent ccbd6da20e
commit b3c5b6b8a2
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -24,7 +24,7 @@ func InterfaceToString(value interface{}) string {
case []byte:
return serial.BytesToHexString(value)
default:
return fmt.Sprint(value)
return fmt.Sprintf("%+v", value)
}
}