Deprecation warning log message

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
m.nabokikh
2021-05-24 19:40:28 +04:00
parent 13a83d9bba
commit dea1d3383c
3 changed files with 8 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
package log
func Deprecated(logger Logger, f string, args ...interface{}) {
logger.Warnf("Deprecated: "+f, args...)
}