![]() |
open_iA
2020.04
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Helper class for (debug) logging purposes, available from everywhere as singleton. More...
#include <iAConsole.h>
Signals | |
| void | consoleVisibilityChanged (bool newVisibility) |
| void | logSignal (QString const &text) |
Public Member Functions | |
| bool | isFileLogError () const |
| bool | isLogToFileOn () const |
| bool | isVisible () const |
| void | log (QString const &text) override |
| QString | logFileName () const |
| void | setLogToFile (bool value, QString const &fileName, bool verbose=false) |
| void | setVisible (bool visible) |
Public Member Functions inherited from iALogger | |
| virtual | ~iALogger () |
Static Public Member Functions | |
| static void | closeInstance () |
| static iAConsole * | instance () |
Helper class for (debug) logging purposes, available from everywhere as singleton.
Instantiates a dlg_console to log debug messages Note: Typically not used directly, but through DEBUG_LOG macro! TODO: check if we can't reuse logging window here!
|
static |
|
signal |
|
static |
| bool iAConsole::isFileLogError | ( | ) | const |
| bool iAConsole::isLogToFileOn | ( | ) | const |
| bool iAConsole::isVisible | ( | ) | const |
|
overridevirtual |
Implements iALogger.
| QString iAConsole::logFileName | ( | ) | const |
|
signal |
| void iAConsole::setLogToFile | ( | bool | value, |
| QString const & | fileName, | ||
| bool | verbose = false |
||
| ) |
| void iAConsole::setVisible | ( | bool | visible | ) |
1.8.18