- lima2.client.Detector.register_transition_logger(logger)
Register a logger function to be notified on FSM transition.
Example
>>> def on_transition(source, target): print(f"transition from {source} to {target}") >>> fsm.register_transition_logger(on_transition)