#include <ext/app/exttesttools/taslogger.h>
class TasLogger |
Public Member Functions | |
---|---|
void | clearLogFile() |
void | configureEventLogger(TasCommand &) |
void | configureLogger(TasCommand &) |
void | debug(const QString) |
void | disableLogger() |
void | enableLogger() |
void | error(const QString) |
void | fatal(const QString) |
void | info(const QString) |
void | logEvents(QStringList) |
TasLogger * | logger() |
void | removeLogger() |
void | setLevel(const LogType &) |
void | setLogDir(const QString) |
void | setLogFile(const QString) |
void | setLogSize(int) |
void | setOutputter(bool) |
void | stopEventLogging() |
void | useQDebug(bool) |
void | warning(const QString) |
void | clearLogFile | ( | ) |
void | configureEventLogger | ( | TasCommand & | command | ) |
void | configureLogger | ( | TasCommand & | command | ) |
Configures the logger based on the command data. Logger will not check the sanity of the settings.
void | debug | ( | const QString | message | ) |
void | enableLogger | ( | ) |
void | error | ( | const QString | message | ) |
void | fatal | ( | const QString | message | ) |
void | info | ( | const QString | message | ) |
void | logEvents | ( | QStringList | filters = QStringList() | ) |
void | removeLogger | ( | ) | [static] |
void | setLevel | ( | const LogType & | level | ) |
void | setLogDir | ( | const QString | logPath | ) |
void | setLogFile | ( | const QString | logFileName | ) |
Set the file and path to where to write the logs. The path needs to exists and is not created by the logger. logPath will default to /logs/testability if not set. Will also enable the logger.