|
QuasarAppLib 1.0.530.c9fba11
|
The QALogger class is logger handler for app. This class allow to log all message from app to file. More...
#include <qalogger.h>

Public Member Functions | |
| QALogger () | |
| QALogger This is the default constructor of the QALogger object. After the construction call the init method for enable the logging. | |
| ~QALogger () | |
| ~QALogger This is the destructor of the QALogger object. It removes the message handler and closes the log file if it was opened. | |
| void | init () |
| init This method initialize logging of all qt message into file. | |
Static Public Member Functions | |
| static QString | getLogFilePath () |
| getLogFilePath This method returns the path of the log file that will be used by the logger. The location can be overridden with the "fileLog" option of the Params class. | |
The QALogger class is logger handler for app. This class allow to log all message from app to file.
Example:
Standard file log locations per platforms :
you can overiwite this location by setting "fileLog" option in Params.
Definition at line 45 of file qalogger.h.
| QuasarAppUtils::QALogger::QALogger | ( | ) |
QALogger This is the default constructor of the QALogger object. After the construction call the init method for enable the logging.
Definition at line 31 of file qalogger.cpp.
| QuasarAppUtils::QALogger::~QALogger | ( | ) |
~QALogger This is the destructor of the QALogger object. It removes the message handler and closes the log file if it was opened.
Definition at line 34 of file qalogger.cpp.
|
static |
getLogFilePath This method returns the path of the log file that will be used by the logger. The location can be overridden with the "fileLog" option of the Params class.
Definition at line 110 of file qalogger.cpp.
| void QuasarAppUtils::QALogger::init | ( | ) |
init This method initialize logging of all qt message into file.
Definition at line 85 of file qalogger.cpp.
