#include #include #include int main(int argc, char *argv[]) { auto loggerManager = base::logger::LoggerManager::globalInstance(); loggerManager->addLogger(QtDebugMsg); loggerManager->addLogger(QtWarningMsg, "appname", "appname.log"); loggerManager->addLogger(LOG_LEVEL_DISABLED, "appname"); qDebug() << "Hello?"; qInfo() << "Hello?"; qWarning() << "Hello?"; qCritical() << "Hello?"; return 0; }