#pragma once #include "util/Helpers.hpp" #include #include namespace AB_NAMESPACE { template inline void log(const std::string &formatString, Args &&... args) { qDebug().noquote() << QTime::currentTime().toString("hh:mm:ss.zzz") << fS(formatString, std::forward(args)...).c_str(); } template inline void log(const char *formatString, Args &&... args) { log(std::string(formatString), std::forward(args)...); } template inline void log(const QString &formatString, Args &&... args) { log(formatString.toStdString(), std::forward(args)...); } } // namespace AB_NAMESPACE