jak-project/game
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
..
assets Updating Controller Database 2022-09-05 16:23:09 +00:00
common [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
graphics logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
kernel [decomp2] game-info, game-task and task-control (#1884) 2022-09-27 19:44:20 -04:00
mips2c [jak 2] texture (#1866) 2022-09-11 14:17:55 -04:00
overlord logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
sce logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
sound logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
system logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
tools/subtitles add text messages for subtitle toggling + subtitle editor fixes (#1617) 2022-07-06 18:09:01 -04:00
CMakeLists.txt [jak 2] texture (#1866) 2022-09-11 14:17:55 -04:00
discord.cpp discord-rpc: check for custom levels and add placeholder icon (#1531) 2022-06-23 18:44:42 -04:00
discord.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
main.cpp Automatically switch to dedicated GPU in OpenGOAL runtime (#1715) 2022-07-31 13:32:22 -04:00
runtime.cpp Improvements for stuttering (#1768) 2022-08-20 10:32:00 -04:00
runtime.h [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00