IPWorks EDI 2020 Python Edition

Questions / Feedback?

on_log Event

Provides logging information.

Syntax

class MLLPClientLogEventParams(object):
  @property
  def log_level() -> int: ...
  @property
  def message() -> str: ...
  @property
  def log_type() -> str: ...

# In class MLLPClient:
@property
def on_log() -> Callable[[MLLPClientLogEventParams], None]: ...
@on_log.setter
def on_log(event_hook: Callable[[MLLPClientLogEventParams], 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.

LogType specifies the type of log message. Possible values are:

  • INFO
  • VERBOSE
  • DEBUG

LogMessage is the log message.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Python Edition - Version 20.0 [Build 8203]