mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
4d751af38e
Favors the `lg` namespace over `fmt` directly, as this will output the logs to a file / has log levels. I also made assertion errors go to a file, this unfortunately means importing `lg` and hence `fmt` which was attempted to be avoided before. But I'm not sure how else to do this aspect without re-inventing the file logging. We have a lot of commented out prints as well that we should probably cleanup at some point / switch them to trace level and default to `info` level. I noticed the pattern of disabling debug logs behind some boolean, something to consider cleaning up in the future -- if our logs were more structured (knowing where they are coming from) then a lot this boilerplate could be eliminated. Closes #1358 |
||
---|---|---|
.. | ||
framework | ||
source_generated | ||
source_templates | ||
CMakeLists.txt | ||
README.md | ||
test_arithmetic.cpp | ||
test_collections.cpp | ||
test_compiler.cpp | ||
test_control_statements.cpp | ||
test_debugger.cpp | ||
test_game_no_debug.cpp | ||
test_goal_kernel.cpp | ||
test_goal_kernel2.cpp | ||
test_jak2_compiler.cpp | ||
test_type_consistency.cpp | ||
test_variables.cpp | ||
test_vector_float.cpp | ||
test_with_game.cpp |
Some Documentation
TODO!
TODO
- If it can't make the file successfully, currently the tests just hang
- How do i share the same fixture (compiler/thread instance), but with different Params. I don't think this is possible...maybe with templates?