feat: Log with levels from AngelScript

This commit is contained in:
2025-11-06 15:15:33 +13:00
parent a337b9002f
commit ea7c45ae01
3 changed files with 64 additions and 0 deletions

View File

@@ -6,5 +6,8 @@ void Update(float dt) {
if (x > 800) {
x = 0;
Print("X position reset!");
Log(LOG_INFO, "Log INFO: reset happened");
Log(LOG_WARNING, "Log WARNING: reset happened");
Log(LOG_ERROR, "Log ERROR: reset happened");
}
}