123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- .. This is a autogemerated documentation from python docstrings. It was generated using DStrings2Doc.
- .. module:: loghandler
- .. _loghandler:
- Module loghandler
- =================
- .. py:class:: LogHandler(logging.Handler)
- Handler Class to configure Logging
- This also enables logging to the output field in the gui
- .. py:method:: __init__(self, log_area)
- .. py:method:: emit(self, record)
- Emit a log record
- .. py:class:: Highlighter(QtGui.QSyntaxHighlighter)
- Highlighter for the logging area
- .. py:method:: __init__(self, parent, theme)
- .. py:method:: setKeywords(self, kw)
- Set the keywords to check for
- :param kw: the keywords
- .. py:method:: highlightBlock(self, text)
- Highlight a block of text
- :param text: the text to check in
- .. py:class:: LogArea(QtGui.QTextEdit)
- The log area for the KCG Gui
- .. py:method:: __init__(self)
- .. py:method:: init_logging(self)
- Initialize logging
- .. py:method:: append(self, record)
- Append to the logarea
- :param record: the record to append
- .. py:method:: setKeywords(self, kw)
- Set the keywords for the highlighter
- :param kw: the keywords to set
|