feat: logger interface (#14829)

This commit is contained in:
Marko
2023-01-30 09:49:11 -05:00
committed by GitHub
parent 1b6e683180
commit 19428c3dbe
+10
View File
@@ -0,0 +1,10 @@
package log
// Service is the interface that wraps the basic logging methods.
type Service interface {
Debug(msg string, keyvals ...interface{})
Info(msg string, keyvals ...interface{})
Error(msg string, keyvals ...interface{})
With(keyvals ...interface{}) Service
}