jak-project/goalc
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
..
build_level game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
compiler i18n: subtitle code cleanup and update new subtitle JSON files to be compatible with Crowdin (#2802) 2023-07-09 02:53:39 +01:00
data_compiler i18n: subtitle code cleanup and update new subtitle JSON files to be compatible with Crowdin (#2802) 2023-07-09 02:53:39 +01:00
debugger game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
emitter Get the project compiling on Apple Silicon macOS natively (arm64) (#2827) 2023-07-16 11:13:48 -04:00
listener game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
make i18n: subtitle code cleanup and update new subtitle JSON files to be compatible with Crowdin (#2802) 2023-07-09 02:53:39 +01:00
regalloc [goalc] reduce compiler memory usage (#2247) 2023-02-24 18:32:30 -05:00
CMakeLists.txt d/j2: Some work on the SQL editors (#2771) 2023-06-25 16:51:46 -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
simple_main.cpp game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00