![]() |
open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
A dock widget to show log messages. More...
#include <iALogWidget.h>
Signals | |
| void | logSignal (int lvl, QString const &text) |
| decouple logging methods from GUI logging (to allow logging from any thread): More... | |
| void | logVisibilityChanged (bool newVisibility) |
Public Member Functions | |
| iALogLevel | fileLogLevel () const |
| retrieve current log level for file More... | |
| bool | isFileLogError () const |
| bool | isLogToFileOn () const |
| void | log (iALogLevel lvl, QString const &text) override |
| Log a given message with the given log level. More... | |
| QString | logFileName () const |
| void | setFileLogLevel (iALogLevel lvl) |
| set log level for the log written to file (can diverge from the log in the console!) More... | |
| void | setLogLevel (iALogLevel lvl) override |
| override base class log level setting to make sure that shown combobox gets updated More... | |
| void | setLogToFile (bool value, QString const &fileName, bool verbose=false) |
| void | setOpenOnNewMessage (bool openOnNewMessage) |
| sets whether the log window should open when new messages come in More... | |
Public Member Functions inherited from iALogger | |
| iALogger () | |
| virtual | ~iALogger () |
| iALogLevel | logLevel () const |
| Retrieve current log level. More... | |
Static Public Member Functions | |
| static iALogWidget * | get () |
| singleton pattern - retrieve logger instance More... | |
| static void | shutdown () |
Additional Inherited Members | |
Protected Attributes inherited from iALogger | |
| iALogLevel | m_logLevel |
A dock widget to show log messages.
Implements singleton pattern, as only one instance should exist per application window. Typically you should not use this directly, but use the LOG macro in iALog.h instead!
| iALogLevel iALogWidget::fileLogLevel | ( | ) | const |
retrieve current log level for file
|
static |
singleton pattern - retrieve logger instance
| bool iALogWidget::isFileLogError | ( | ) | const |
| bool iALogWidget::isLogToFileOn | ( | ) | const |
|
overridevirtual |
| QString iALogWidget::logFileName | ( | ) | const |
|
signal |
decouple logging methods from GUI logging (to allow logging from any thread):
|
signal |
| void iALogWidget::setFileLogLevel | ( | iALogLevel | lvl | ) |
set log level for the log written to file (can diverge from the log in the console!)
|
overridevirtual |
override base class log level setting to make sure that shown combobox gets updated
Reimplemented from iALogger.
| void iALogWidget::setLogToFile | ( | bool | value, |
| QString const & | fileName, | ||
| bool | verbose = false |
||
| ) |
| void iALogWidget::setOpenOnNewMessage | ( | bool | openOnNewMessage | ) |
sets whether the log window should open when new messages come in
|
static |