wolfhece.pylogging

Author: HECE - University of Liege, Pierre Archambeau Date: 2024

Copyright (c) 2024 University of Liege. All rights reserved.

This script and its content are protected by copyright law. Unauthorized copying or distribution of this file, via any medium, is strictly prohibited.

Module Contents

class wolfhece.pylogging.LoggingPythonWxBridgeHandler(winTitle: str = 'Log', show=True)[source]

Bases: logging.Handler

Inheritance diagram of wolfhece.pylogging.LoggingPythonWxBridgeHandler

Handler instances dispatch logging events to specific destinations.

The base handler class. Acts as a placeholder which defines the Handler interface. Handlers can optionally use Formatter instances to format records as desired. By default, no formatter is specified; in this case, the ‘raw’ message as determined by record.message is logged.

emit(record: logging.LogRecord)[source]

Do whatever it takes to actually log the specified logging record.

This version is intended to be implemented by subclasses and so raises a NotImplementedError.

wolfhece.pylogging.create_wxlogwindow(winTitle='Log') wx.LogWindow[source]
class wolfhece.pylogging.ADemonstrationFrame[source]

Bases: wx.Frame

Inheritance diagram of wolfhece.pylogging.ADemonstrationFrame
onButton(event)[source]
wolfhece.pylogging.app[source]