jak-project/goalc/data_compiler
Tyler Wilding 4d751af38e
logs: replace every fmt::print with a lg call instead (#1368)
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
2022-10-01 11:58:36 -04:00
..
DataObjectGenerator.cpp W/misc fixes (#1838) 2022-09-05 20:29:12 -04:00
DataObjectGenerator.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
dir_tpages.cpp [jak2] support for multiple out/ directories (#1585) 2022-06-30 21:11:58 -04:00
dir_tpages.h [jak2] support for multiple out/ directories (#1585) 2022-06-30 21:11:58 -04:00
game_count.cpp [jak2] support for multiple out/ directories (#1585) 2022-06-30 21:11:58 -04:00
game_count.h [jak2] support for multiple out/ directories (#1585) 2022-06-30 21:11:58 -04:00
game_text_common.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
game_text_common.h finish out english subtitles (#1586) 2022-07-03 17:25:28 -04:00