on_log Event
Provides logging information.
Syntax
class MLLPServerLogEventParams(object): @property def connection_id() -> int: ... @property def log_level() -> int: ... @property def message() -> str: ... @property def log_type() -> str: ... # In class MLLPServer: @property def on_log() -> Callable[[MLLPServerLogEventParams], None]: ... @on_log.setter def on_log(event_hook: Callable[[MLLPServerLogEventParams], None]) -> None: ...
Remarks
This event fires when processing messages and provides logging information. The LogLevel configuration setting specifies the level of detail that is logged.
ConnectionId reflects the Id of the connection to which the log message pertains.
LogType specifies the type of log message. Possible values are:
- INFO
- VERBOSE
- DEBUG
LogMessage is the log message.