v1.2.2
➖ Remove spdlog dependency
⬆️ Qaterial v1.4.5
💥 spdlog
removal might break your app, especially logging in the ui.
To log in the hotreload your need to use static method : qaterial::HotReload::log(QtMsgType type, const QMessageLogContext& context, const QString& msg)
It has the same signature as qInstallMessageHandler
so it is easy for you to log.
#include <Qaterial/HotReload/HotReload.hpp>
#include <QtCore/QtGlobal>
int main(int argc, char* argv[])
{
qInstallMessageHandler(&qaterial::HotReload::log);
// ...
}