summaryrefslogtreecommitdiff
path: root/plugins/logger/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/logger/interface.go')
-rw-r--r--plugins/logger/interface.go16
1 files changed, 7 insertions, 9 deletions
diff --git a/plugins/logger/interface.go b/plugins/logger/interface.go
index 876629a9..5bb2143b 100644
--- a/plugins/logger/interface.go
+++ b/plugins/logger/interface.go
@@ -1,14 +1,12 @@
package logger
-type (
- // Logger is an general RR log interface
- Logger interface {
- Debug(msg string, keyvals ...interface{})
- Info(msg string, keyvals ...interface{})
- Warn(msg string, keyvals ...interface{})
- Error(msg string, keyvals ...interface{})
- }
-)
+// Logger is an general RR log interface
+type Logger interface {
+ Debug(msg string, keyvals ...interface{})
+ Info(msg string, keyvals ...interface{})
+ Warn(msg string, keyvals ...interface{})
+ Error(msg string, keyvals ...interface{})
+}
// With creates a child logger and adds structured context to it
type WithLogger interface {