diff --git a/plugins/gocli/main.go b/plugins/gocli/main.go index 702ab59..b57e57f 100644 --- a/plugins/gocli/main.go +++ b/plugins/gocli/main.go @@ -5,13 +5,14 @@ import ( "log" "git.front.kjuulh.io/kjuulh/char/pkg/register" + "github.com/hashicorp/go-hclog" ) type GoCliPlugin struct{} // Do implements register.Plugin func (*GoCliPlugin) Do(ctx context.Context, cmd *register.DoCommand) error { - log.Printf("received command: %s", cmd.CommandName) + hclog.L().Info("received command: %s", cmd.CommandName) return nil }