From fbffd2b947a5ae0dc4a6200850a022e4475cbde7 Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Mon, 20 May 2024 09:59:55 -0700 Subject: [PATCH] add logging --- transition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transition.go b/transition.go index d100cf9..9235a7d 100644 --- a/transition.go +++ b/transition.go @@ -25,7 +25,7 @@ func NewTransition(trigger string, source State, dest State) Transitioner { } func (r *Transition) Run(m Modeler) error { - slog.Info("Transition.Run()", "transition", r, "model" m) + slog.Info("Transition.Run()", "transition", r, "model", m) currentState := m.InspectState() if currentState == r.dest { return nil