summaryrefslogtreecommitdiff
path: root/plugins/jobs/brokers/ephemeral/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jobs/brokers/ephemeral/plugin.go')
-rw-r--r--plugins/jobs/brokers/ephemeral/plugin.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/jobs/brokers/ephemeral/plugin.go b/plugins/jobs/brokers/ephemeral/plugin.go
index 3028e79a..4d444c7b 100644
--- a/plugins/jobs/brokers/ephemeral/plugin.go
+++ b/plugins/jobs/brokers/ephemeral/plugin.go
@@ -1,8 +1,12 @@
package ephemeral
+import "github.com/spiral/roadrunner/v2/plugins/logger"
+
type Plugin struct {
+ log logger.Logger
}
-func (p *Plugin) Init() error {
+func (p *Plugin) Init(log logger.Logger) error {
+ p.log = log
return nil
}