Module aivis_engine_v2_base_sdk_python.logger
Classes
class EngineLogger
-
Interface to handle logging callbacks from the engine. Enable logging by registering an implementation of this interface in an engine's setup class.
Ancestors
- abc.ABC
Methods
def log(self, level: int, thread: str, module: str, message: str)
-
This function is called whenever the engine writes a log message. Provide an implementation of this method to handle logging callbacks from engine.
Parameters
level
:int
- ERROR=1, WARN=2, INFO=3, DEBUG=4, TRACE=5
thread
:str
- Current thread as String
module
:str
- Current engine module as String
message
:str
- Log message