jak-project/common/goos
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
..
Interpreter.cpp Fix UTF-8 handling when running the game, env-vars, and setting the project path (#1632) 2022-07-10 19:03:24 -04:00
Interpreter.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Object.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Object.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
ParseHelpers.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
ParseHelpers.h compiler speed improvement (#1547) 2022-06-24 18:21:24 -04:00
PrettyPrinter.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
PrettyPrinter.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
PrettyPrinter2.cpp [decomp2] game-info, game-task and task-control (#1884) 2022-09-27 19:44:20 -04:00
PrettyPrinter2.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Printer.cpp d/jak2: mostly finish mysql-nav-graph and fix docstring handling around with-pp/local-vars (#1869) 2022-09-13 18:15:02 -04:00
Printer.h d/jak2: mostly finish mysql-nav-graph and fix docstring handling around with-pp/local-vars (#1869) 2022-09-13 18:15:02 -04:00
Reader.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
Reader.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
ReplUtils.cpp extractor: cleanup, support unicode properly, and add multi-game support (#1609) 2022-07-05 20:38:13 -04:00
ReplUtils.h goalc: Add TCP server socket in REPL process (#1335) 2022-05-06 18:19:37 -04:00
TextDB.cpp LSP: initial LSP implementation for IR files to assist with decompilation (#1647) 2022-07-18 18:26:57 -04:00
TextDB.h LSP: initial LSP implementation for IR files to assist with decompilation (#1647) 2022-07-18 18:26:57 -04:00