Table Of Contents

Previous topic


Next topic


Error Handling and Logging

Error handling and logging module, utilities, macros and definitions. See the Error handling and Debugging topic guide for more details.



Query whether the Error and Debugging System is activated or not. The system can be activated/deactivate with the compile time definition of SPCT_ERROR_HANDLING. If deactivated then no logging or checking of error codes will occur.

Return type:bool

Set the given logger (instance of the logging.Logger module) as the logger to be used by the Speect Engine for error and debugging purposes.

Parameters:logger (Instance of the logging.Logger module) – The logger to be used by the Speect Engine.