Remove FMT dependency (#1472)
All occurrences of log() have been replaced with qDebug() bonus meme: remove a bunch of std::string usages in the pubsub client Fixes #1467
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#include "LoggingChannel.hpp"
|
||||
|
||||
#include "Application.hpp"
|
||||
#include "debug/Log.hpp"
|
||||
#include "singletons/Paths.hpp"
|
||||
#include "singletons/Settings.hpp"
|
||||
|
||||
@@ -64,13 +63,13 @@ void LoggingChannel::openLogFile()
|
||||
|
||||
if (!QDir().mkpath(directory))
|
||||
{
|
||||
log("Unable to create logging path");
|
||||
qDebug() << "Unable to create logging path";
|
||||
return;
|
||||
}
|
||||
|
||||
// Open file handle to log file of current date
|
||||
QString fileName = directory + QDir::separator() + baseFileName;
|
||||
log("Logging to {}", fileName);
|
||||
qDebug() << "Logging to" << fileName;
|
||||
this->fileHandle.setFileName(fileName);
|
||||
|
||||
this->fileHandle.open(QIODevice::Append);
|
||||
|
||||
Reference in New Issue
Block a user