Logging
The python counterparts of HAL’s C++ log_* macros.
Like the macros, every severity but info prefixes the message with the source location of the caller.
hal python bindings
- hal_py.log_critical(channel: str, message: str) None
Log a message into a specific channel with severity
critical. The message is prefixed with the file name and line number of the calling python code.
- hal_py.log_debug(channel: str, message: str) None
Log a message into a specific channel with severity
debug. The message is prefixed with the file name and line number of the calling python code.
- hal_py.log_error(channel: str, message: str) None
Log a message into a specific channel with severity
error. The message is prefixed with the file name and line number of the calling python code.
- hal_py.log_info(channel: str, message: str) None
Log a message into a specific channel with severity
info.