LogWarning(context.Background(),"The feature "+sourceFeature+" is deprecated, not recommended for using and might be removed. Please migrate to "+targetFeature+" as soon as possible.")
LogWarning(context.Background(),"This feature "+feature+" is deprecated, will be removed soon and being migrated to "+migrateFeature+". Please update your config(s) according to release note and documentation before removal.")
LogWarning(context.Background(),"This feature "+feature+" is deprecated and will be removed soon. Please update your config(s) according to release note and documentation before removal.")
// PrintRemovedFeatureError prints an error message for removed feature then return an error. And after long enough time the message can also be removed, uses as an indicator.
// Do not remove this function even there is no reference to it.
returnNew("The feature "+feature+" has been removed and migrated to "+migrateFeature+". Please update your config(s) according to release note and documentation.")
}else{
returnNew("The feature "+feature+" has been removed. Please update your config(s) according to release note and documentation.")