Deprecation warning log message
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
5
pkg/log/deprecated.go
Normal file
5
pkg/log/deprecated.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package log
|
||||
|
||||
func Deprecated(logger Logger, f string, args ...interface{}) {
|
||||
logger.Warnf("Deprecated: "+f, args...)
|
||||
}
|
Reference in New Issue
Block a user