1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-02-14 12:15:22 -05:00

lazy evaluation of log fields

This commit is contained in:
v2ray
2016-01-18 12:24:33 +01:00
parent 8f20933457
commit eec0bb4db4
25 changed files with 124 additions and 117 deletions

View File

@@ -46,7 +46,7 @@ func IPAddress(ip []byte) Address {
}
return &addr
default:
log.Error("Invalid IP format: %v", ip)
log.Error("Invalid IP format: ", ip)
return nil
}
}