
Public Member Functions | |
| def | __init__ (self, text, severity=Logger.REPORT_HINT) |
| def | execute (self, userdata) |
| def | on_enter (self, userdata) |
Private Attributes | |
| _severity | |
| _text | |
A state that can log a predefined message including an input key
to precisely inform the operator about what happened to the behavior.
-- text string The message to be logged to the terminal Example: 'Counter value: {}'.
-- severity uint8 Type of logging (Logger.REPORT_INFO / WARN / HINT / ERROR)
#> data object The data provided to be printed in the message. The exact type depends on the request.
<= done Indicates that the message has been logged.
Definition at line 5 of file log_key_state.py.
| def flexbe_states.log_key_state.LogKeyState.__init__ | ( | self, | |
| text, | |||
severity = Logger.REPORT_HINT |
|||
| ) |
Definition at line 18 of file log_key_state.py.
| def flexbe_states.log_key_state.LogKeyState.execute | ( | self, | |
| userdata | |||
| ) |
Definition at line 24 of file log_key_state.py.
| def flexbe_states.log_key_state.LogKeyState.on_enter | ( | self, | |
| userdata | |||
| ) |
Log upon entering the state.
Definition at line 28 of file log_key_state.py.
|
private |
Definition at line 22 of file log_key_state.py.
|
private |
Definition at line 21 of file log_key_state.py.