1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-17 21:15:24 +00:00

write error to log

This commit is contained in:
Darien Raymond 2018-10-04 21:14:59 +02:00
parent f0188a55d2
commit 76a616ebff
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -16,5 +16,5 @@ func CreateObject(v *Instance, config interface{}) (interface{}, error) {
}
func PrintDeprecatedFeatureWarning(feature string) {
newError("You are using a deprecated feature: " + feature + ". Please update your config file with latest configuration format, or update your client software.")
newError("You are using a deprecated feature: " + feature + ". Please update your config file with latest configuration format, or update your client software.").WriteToLog()
}