13 :
Logger(parent), fileLogger(0), useFileFlogger(false)
42 void LoggerWithFile::log(
const QtMsgType type,
const QString& message,
const QString &file,
const QString &
function,
const int line)
51 void LoggerWithFile::logToFile(
const QtMsgType type,
const QString& message,
const QString &file,
const QString &
function,
const int line)
113 levelStr =
"warning";
void setFileLoggerSettings(const FileLoggerSettings &settings)
void createOrSetFileLogger(const FileLoggerSettings &settings, const int refreshInterval=10000)
virtual void log(const QtMsgType type, const QString &message, const QString &file="", const QString &function="", const int line=0)
virtual void log(const QtMsgType type, const QString &message, const QString &file="", const QString &function="", const int line=0)
virtual void clear(const bool buffer=true, const bool variables=true)
void setConsoleMinMessageLevel(const QtMsgType &msgLevel)
FileLoggerSettings getFileLoggerSettings() const
virtual ~LoggerWithFile()
QtMsgType getMinMessageLevel() const
void logToFile(const QtMsgType type, const QString &message, const QString &file="", const QString &function="", const int line=0)
void getFileMinMessageLevelStr(QString &levelStr)
void setMinMessageLevel(const QtMsgType &minMsgLevel)
LoggerWithFile(QObject *parent=0)
virtual void clear(const bool buffer=true, const bool variables=true)
void getConsoleMinMessageLevelStr(QString &levelStr)
void setFileMinMessageLevel(const QtMsgType &msgLevel)
void getLogFileName(QString &fileName)