mirror of https://github.com/v2ray/v2ray-core
write error to log
parent
f0188a55d2
commit
76a616ebff
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue