*
* Setting key |
* Description |
*
* Debug |
* The variable controls the Level value for the logger
* LogManager::logLogger(). If the value is a valid Level string,
* the level for the logger is set to the level. If the value is not
* a valid Level string, \ref Level::DEBUG_INT "DEBUG_INT" is used.
* Otherwise \ref Level::ERROR_INT "ERROR_INT" is used. |
*
* DefaultInitOverride |
* The variable controls the \ref Init "initialization procedure"
* performed by the \ref LogManager "LogManager" on startup.
* If it is set to any other value then \c false the \ref Init
* "initialization procedure" is skipped. |
*
* Configuration |
* Specifies the configuration file used for initialising the package. |
*
* ConfiguratorClass |
* Specifies the configurator class used for initialising the package. |
*
*
*
* \sa environmentSettings(), \ref Env "Environment Variables",
* \ref Init "Initialization procedure",
* LogManager::configureLogLogger(), LogManager::startup()
*/
static QString setting(const QString &rKey,
const QString &rDefault = QString());
/*!
* Returns the start time of the program as the number of milliseconds
* that have passed since 1970-01-01T00:00:00,000, Coordinated
* Universal Time (Qt::UTC).
*
* \sa DateTime::fromMilliSeconds(),
* DateTime::toMilliSeconds()
*/
static qint64 startTime();
private:
void doInitialiseEnvironmentSettings();
void doRegisterTypes();
QString doSetting(const QString &rKey,
const QString &rDefault) const;
static bool shutdown();
static bool staticInitialisation();
private:
// QMutex mObjectGuard;
const qint64 mStartTime;
QHash