summaryrefslogtreecommitdiff
path: root/plugins/logger
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/logger')
-rw-r--r--plugins/logger/plugin.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/logger/plugin.go b/plugins/logger/plugin.go
index 9965b29c..1084cc5e 100644
--- a/plugins/logger/plugin.go
+++ b/plugins/logger/plugin.go
@@ -75,3 +75,13 @@ func (z *ZapLogger) Provides() []interface{} {
z.ServiceLogger,
}
}
+
+// Name returns user-friendly plugin name
+func (z *ZapLogger) Name() string {
+ return PluginName
+}
+
+// Available interface implementation
+func (z *ZapLogger) Available() bool {
+ return true
+}