wolfhece.pylogging
==================

.. py:module:: wolfhece.pylogging

.. autoapi-nested-parse::

   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
---------------

.. py:class:: LoggingPythonWxBridgeHandler(winTitle: str = 'Log', show=True)

   Bases: :py:obj:`logging.Handler`

   .. autoapi-inheritance-diagram:: wolfhece.pylogging.LoggingPythonWxBridgeHandler
      :parts: 1
      :private-bases:


   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.


   .. py:attribute:: _log_window


   .. py:method:: emit(record: logging.LogRecord)

      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.



.. py:function:: create_wxlogwindow(winTitle='Log') -> wx.LogWindow

.. py:class:: ADemonstrationFrame

   Bases: :py:obj:`wx.Frame`

   .. autoapi-inheritance-diagram:: wolfhece.pylogging.ADemonstrationFrame
      :parts: 1
      :private-bases:


   .. py:attribute:: log


   .. py:method:: onButton(event)


.. py:data:: app