summaryrefslogtreecommitdiffstats
path: root/src/loggerengine.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-04-24 21:36:26 +0200
committerJonathan Bauer2011-04-24 21:36:26 +0200
commit03ac351f38316d8f923f3797aa7dd0deade7ed5d (patch)
treec01e300c7a92ce728df907fd85e1a514876b6037 /src/loggerengine.cpp
parentmore old tests... (diff)
downloadfbgui-03ac351f38316d8f923f3797aa7dd0deade7ed5d.tar.gz
fbgui-03ac351f38316d8f923f3797aa7dd0deade7ed5d.tar.xz
fbgui-03ac351f38316d8f923f3797aa7dd0deade7ed5d.zip
url status handling, 5sec delay before closing gui when exiting with failure (not actually returning 1 atm), lots of formatting...
Diffstat (limited to 'src/loggerengine.cpp')
-rw-r--r--src/loggerengine.cpp16
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;