got carried away with some debug logging infrastructure

This commit is contained in:
2026-04-11 11:52:12 -05:00
parent 7b4f04d54c
commit 44a5e2cab9
4 changed files with 61 additions and 12 deletions

View File

@@ -61,6 +61,11 @@ $ ./build/ouros
# or on windows:
.\build\Debug\ouros.exe
```
For control on debugging:
```bash
$ ./build/ouros --debug 0b00111111
```
where each bit in the mask corresponds to a debug level, in order: unused, unused, fatal, trace, error, warning, notice, and info. `0b1111111` enables all debug messages.
## Additional Resources
- https://howtovulkan.com/