diff options
Diffstat (limited to 'src/loggerengine.cpp')
-rw-r--r-- | src/loggerengine.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/loggerengine.cpp b/src/loggerengine.cpp index fd44633..8a0991d 100644 --- a/src/loggerengine.cpp +++ b/src/loggerengine.cpp @@ -22,8 +22,7 @@ void LoggerEngine_fb::killLoggerEngine() { return; } -void LoggerEngine_fb::setLogLevelEnabled(QxtLogger::LogLevels level, - bool enable) { +void LoggerEngine_fb::setLogLevelEnabled(QxtLogger::LogLevels, bool) { //QxtLoggerEngine::setLogLevelsEnabled(level, enable); //if (!enable) QxtLoggerEngine::setLogLevelsEnabled(QxtLogger::DebugLevel); } @@ -32,8 +31,7 @@ bool LoggerEngine_fb::isInitialized() const { return true; } -void LoggerEngine_fb::writeFormatted(QxtLogger::LogLevel level, - const QList<QVariant> & msgs) { +void LoggerEngine_fb::writeFormatted(QxtLogger::LogLevel level, const QList<QVariant> & msgs) { // ignore in case no messages was passed. if (msgs.isEmpty()) @@ -68,8 +66,7 @@ LoggerEngine_std::LoggerEngine_std() : LoggerEngine_std::~LoggerEngine_std() { } -void LoggerEngine_std::writeToStdErr(const QString& str_level, - const QList<QVariant> &msgs) { +void LoggerEngine_std::writeToStdErr(const QString&, const QList<QVariant> &msgs) { if (msgs.isEmpty()) return; @@ -84,8 +81,8 @@ void LoggerEngine_std::writeToStdErr(const QString& str_level, } *errstream << endl; } -void LoggerEngine_std::writeToStdOut(const QString& level, - const QList<QVariant> & msgs) { +void LoggerEngine_std::writeToStdOut(const QString&, const QList<QVariant> &) { + // (level, msgs) // reimplementing this is needed for compiling, // we only need write to std::err, so this function is not needed } @@ -103,8 +100,7 @@ LoggerEngine_file::~LoggerEngine_file() { void LoggerEngine_file::initLoggerEngine() { } -void LoggerEngine_file::writeToFile(const QString& str_level, - const QList<QVariant> &msgs) { +void LoggerEngine_file::writeToFile(const QString&, const QList<QVariant> &msgs) { if (msgs.isEmpty()) return; |