jak-project/game
Tyler Wilding 5d7aa7cea1
log: rotate log files with timestamps and add flag to disable ANSI colors (#2886)
Rotates the log files with a timestamp instead of copying all files and
incrementing an integer. Increases the amount of info you have when
looking at user's log files (ie. when looking at all the files, the file
creation dates are accurate).


![image](https://github.com/open-goal/jak-project/assets/13153231/61bcdf51-f0f6-4eee-b1e5-140aede5d19e)

Also simplifies the API for setting the log file, and `gk` logs are now
game specific with `jak1` or `jak2`. Which should be useful going
forward.

Lastly, added a flag to all CLIs to disable ansi colors for people that
want to do so. Though at the same time, there is finally a workaround in
jenkins to fix ANSI colors in the truncated log view -- so I'm not sure
why anyone would want to get rid of the color information. You can even
setup text editors to display the color info making log parsing much
easier. Fixes #1917

---------

Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com>
2023-08-08 17:59:37 +01:00
..
assets [jak2] prepare scf-get-territory usage (#2890) 2023-08-08 17:21:29 +01:00
common Get the project compiling on Apple Silicon macOS natively (arm64) (#2827) 2023-07-16 11:13:48 -04:00
external game: refactor discord code and improve jak 2 support (#2714) 2023-06-17 05:16:40 +01:00
graphics [jak2] get new cheats working (#2885) 2023-08-07 00:15:53 +01:00
kernel fix collision renderer filters not working (#2872) 2023-07-31 11:13:44 +01:00
mips2c fix subtitle console spam + font shadow offseting (#2822) 2023-07-10 07:32:35 +01:00
overlord Fix possible crash when loading files (#2850) 2023-07-29 11:38:23 -04:00
sce Fix small buzz motor not vibrating correctly (#2846) 2023-07-27 10:46:40 +01:00
settings fix stad-samos regression from refactor (#2796) + change imgui toggle to left-alt and make it customizable (#2848) 2023-07-29 02:26:42 +01:00
sound Make all project targets compile on Intel MacOS (#2780) 2023-07-01 13:30:11 -04:00
system [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
tools [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
CMakeLists.txt [jak2] More texture animations (#2831) 2023-07-16 13:02:53 -04:00
main.cpp log: rotate log files with timestamps and add flag to disable ANSI colors (#2886) 2023-08-08 17:59:37 +01:00
runtime.cpp [jak2] faster startup (#2738) 2023-06-17 17:23:25 -04:00
runtime.h game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00