diff --git a/src/debug/log.hpp b/src/debug/log.hpp index e2a3fbea4..2eb6e126c 100644 --- a/src/debug/log.hpp +++ b/src/debug/log.hpp @@ -8,19 +8,11 @@ namespace chatterino { namespace debug { -namespace detail { - -static void _log(const std::string &message) -{ - qDebug().noquote() << QTime::currentTime().toString("hh:mm:ss.zzz") << message.c_str(); -} - -} // namespace detail - template inline void Log(const std::string &formatString, Args &&... args) { - detail::_log(fS(formatString, std::forward(args)...)); + qDebug().noquote() << QTime::currentTime().toString("hh:mm:ss.zzz") + << fS(formatString, std::forward(args)...).c_str(); } } // namespace debug