Skip to content
Snippets Groups Projects
plugin.go 296 B
package logger

import (
	"github.com/iotaledger/hive.go/node"
)

// define the plugin as a placeholder, so the init methods get executed accordingly
var PLUGIN = node.NewPlugin("Logger", node.Enabled, run)

func run(ctx *node.Plugin) {
	// do nothing; everything is handled in the init method
}