mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
write error to log
This commit is contained in:
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user