|
Multi diag tools
|
Implementation for CoreApplication and derived classes. More...
#include <CoreApplicationImpl.h>
Inheritance diagram for Mdt::CoreApplicationImpl:Public Types |
Public Member Functions | |
| CoreApplicationImpl () | |
| Constructor. | |
| ~CoreApplicationImpl () | |
| Destructor. | |
| void | enableFileLogging (LogFileNameFormat format) |
| Enable file logging. | |
| bool | isFileLoggingEnabled () const |
| Check if file logging is enabled. | |
| QString | logFilePath () |
| Get the path to the log file. | |
| void | debugEnvironment (const QStringList &entries) |
| Debug environment. | |
| QStringList | commonEnvironmentEntries () |
| Get common environment entries. | |
Static Public Member Functions | |
| static QString | logDirectoryPath () |
| Get the path to log file directory. More... | |
| static QString | cacheDirectoryPath () |
| Get path to the cache directory. More... | |
| static QString | qtVersion () |
| Get Qt library version. | |
| static QString | mdtVersion () |
| Get Mdt library version. | |
Implementation for CoreApplication and derived classes.
Definition at line 34 of file CoreApplicationImpl.h.
Log file name format.
| Enumerator | |
|---|---|
| ApplicationName |
Log file name will be applicationName.log |
| ApplicationNameAndPid |
Log file name will be applicationName_pid.log |
Definition at line 42 of file CoreApplicationImpl.h.
|
inlinestatic |
Get path to the cache directory.
Returns StandardPaths::cacheDirectoryPath()
Definition at line 94 of file CoreApplicationImpl.h.
|
inlinestatic |
Get the path to log file directory.
Returns StandardPaths::logDirectoryPath()
Definition at line 78 of file CoreApplicationImpl.h.
1.8.11