gmod-lcpu/native/projects/lucore_test/main.cpp

16 lines
357 B
C++
Raw Normal View History

#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");
LUCORE_CHECK(false, "should appear");
}