opyenxes.log package

Submodules

opyenxes.log.XLogging module

class opyenxes.log.XLogging.XLogging[source]

Bases: object

This class provides low-level logging for library components. Used for debugging.

class Importance[source]

Bases: object

Defines the importance of logging messages.

DEBUG = 'DEBUG'
ERROR = 'ERROR'
INFO = 'INFO'
WARNING = 'WARNING'
log(message, importance=None)[source]

Logs the given message with debug importance.

Parameters:
  • message – The log message.
  • importance – Importance of the message.
set_listener(listener)[source]

Sets a new logging listener.

Parameters:listener (XStdOutLoggingListener) – New logging listener.

opyenxes.log.XStdoutLoggingListener module

class opyenxes.log.XStdoutLoggingListener.XStdOutLoggingListener[source]

Bases: object

Default standard output logging listener.

static log(message, importance)[source]

Receives an internal OpenXES log message and print that in the console.

Parameters:
  • message (str) – Text of the log message.
  • importance (str) – Importance of the log message.

Module contents