feat: add log message for log test

This commit is contained in:
2026-05-11 08:17:30 -03:00
parent 61983f5903
commit b51f253705
+6
View File
@@ -55,14 +55,20 @@ class LogTest : ITest
#ifdef _WIN32 #ifdef _WIN32
createAndSetupConsole(); createAndSetupConsole();
#endif #endif
logInfo("Instantiating logger");
Logger log("TestLogger"); Logger log("TestLogger");
logInfo("Registering sink");
log.addSink(std::make_shared<TestLogSink>()); log.addSink(std::make_shared<TestLogSink>());
logInfo("Calling log functions");
log.verbose("verbose log"); log.verbose("verbose log");
log.info("info log"); log.info("info log");
log.warning("warning log"); log.warning("warning log");
log.error("error log"); log.error("error log");
} }
virtual const char* getName() override { return "LogTest"; }
}; };
static LogTest g_logTest; static LogTest g_logTest;