diff --git a/core/log/logger.go b/core/log/logger.go new file mode 100644 index 0000000000..a986a01fa7 --- /dev/null +++ b/core/log/logger.go @@ -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 +}