jak-project/goalc/build_level
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
..
build_level.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
build_level.h extractor: cleanup, support unicode properly, and add multi-game support (#1609) 2022-07-05 20:38:13 -04:00
collide_bvh.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
collide_bvh.h Add a gltf level exporter (#1719) 2022-08-05 12:25:35 -04:00
collide_common.h [custom levels] add collide mode option (#1730) 2022-08-05 14:11:18 -04:00
collide_drawable.cpp Add a gltf level exporter (#1719) 2022-08-05 12:25:35 -04:00
collide_drawable.h Initial implementation of custom level tool (#1482) 2022-06-19 20:44:07 -04:00
collide_pack.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
collide_pack.h Initial implementation of custom level tool (#1482) 2022-06-19 20:44:07 -04:00
color_quantization.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
color_quantization.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Entity.cpp custom levels: add support for more res types in actor lumps (#1754) 2022-08-14 17:21:53 -04:00
Entity.h [build_level] basic support for entity/res-lump (#1563) 2022-06-27 20:37:51 -04:00
FileInfo.cpp lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
FileInfo.h Initial implementation of custom level tool (#1482) 2022-06-19 20:44:07 -04:00
gltf_mesh_extract.cpp logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
gltf_mesh_extract.h Add a gltf level exporter (#1719) 2022-08-05 12:25:35 -04:00
LevelFile.cpp [build_level] basic support for entity/res-lump (#1563) 2022-06-27 20:37:51 -04:00
LevelFile.h [build_level] basic support for entity/res-lump (#1563) 2022-06-27 20:37:51 -04:00
ResLump.cpp [build_level] basic support for entity/res-lump (#1563) 2022-06-27 20:37:51 -04:00
ResLump.h [build_level] basic support for entity/res-lump (#1563) 2022-06-27 20:37:51 -04:00
TexturePool.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00
Tfrag.cpp [ckernel] split by game version (#1559) 2022-06-26 18:17:11 -04:00
Tfrag.h lint: add include sorting config to clang-format (#1517) 2022-06-22 23:37:46 -04:00