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
createAndSetupConsole();
#endif
logInfo("Instantiating logger");
Logger log("TestLogger");
logInfo("Registering sink");
log.addSink(std::make_shared<TestLogSink>());
logInfo("Calling log functions");
log.verbose("verbose log");
log.info("info log");
log.warning("warning log");
log.error("error log");
}
virtual const char* getName() override { return "LogTest"; }
};
static LogTest g_logTest;