feat: logger interface (#14829)
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user