2023-07-17 06:59:20 -04:00
|
|
|
#include <format>
|
|
|
|
#include <lucore/Assert.hpp>
|
|
|
|
#include <lucore/Logger.hpp>
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
lucore::LoggerAttachStdout();
|
|
|
|
auto& logger = lucore::Logger::The();
|
|
|
|
|
|
|
|
logger.Info("Hello World {}", 123.456);
|
|
|
|
logger.Warning("sample warning");
|
|
|
|
logger.Error("Smaple Error");
|
|
|
|
|
2023-07-17 16:27:27 -04:00
|
|
|
//LUCORE_ASSERT(false, "expr should assert");
|
2023-07-17 06:59:20 -04:00
|
|
|
LUCORE_CHECK(false, "should appear");
|
|
|
|
}
|