itom
|
Copies python errors to the logger. More...
#include <pythonLogger.h>
Public Member Functions | |
void | init () |
initializes the PythonLogger | |
Private Slots | |
void | receiveStream (QString text, ito::tStreamMessageType msgType) |
Private Member Functions | |
void | processStreamBuffer () |
Private Attributes | |
QString | m_receiveStreamBuffer |
QTimer | m_receiveStreamBufferTimer |
QPointer< Logger > | m_logger |
Copies python errors to the logger.
This gets the logger and the python error stream from AppManagement and copies any error to the logger.
void ito::PythonLogger::init | ( | ) |
initializes the PythonLogger
This has to be called after the logger and the python error stream are registered in the AppManagement. If not logger or error stream can be retrieved nothing happens.