jak-project/common
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
..
audio logs: replace every fmt::print with a lg call instead (#1368) 2022-10-01 11:58:36 -04:00
cross_os_debug Make all project targets compile on Intel MacOS (#2780) 2023-07-01 13:30:11 -04:00
cross_sockets Make all project targets compile on Intel MacOS (#2780) 2023-07-01 13:30:11 -04:00
custom_data [jak2] More texture animations (#2831) 2023-07-16 13:02:53 -04:00
dma [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
formatter formatter: support formatting bindings, for example in a let (#2883) 2023-08-05 15:23:09 -04:00
global_profiler jak2: overlord rework (#2544) 2023-04-29 16:13:57 -04:00
goos [jak 2] Fix possible stereo desync in overlord (#2663) 2023-05-19 21:17:11 -04:00
log log: rotate log files with timestamps and add flag to disable ANSI colors (#2886) 2023-08-08 17:59:37 +01:00
math [jak2] add sprite glow renderer (#2232) 2023-02-20 20:25:45 -05:00
repl repl: separate history by game version (#2805) 2023-07-05 20:15:46 +02:00
serialization [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
sqlite [jak2] Work-in-progress texture animations (#2819) 2023-07-14 18:17:54 -04:00
texture [jak2] More texture animations, and fixes (#2847) 2023-07-29 11:10:26 -04:00
type_system [goalc] Sign extend objects when loading them (#2863) 2023-07-31 21:49:20 -04:00
util log: rotate log files with timestamps and add flag to disable ANSI colors (#2886) 2023-08-08 17:59:37 +01:00
versions formatter: add tree-sitter dependency and commit early draft work on a proper code formatter (#2536) 2023-04-24 23:46:55 -04:00
CMakeLists.txt formatter: support formatting bindings, for example in a let (#2883) 2023-08-05 15:23:09 -04:00
common_types.h support c++ tools on macos (#2063) 2022-12-22 17:12:05 -05:00
goal_constants.h game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00
link_types.h [goalc] compile/run code for jak2 ckernel, set up dummy KERNEL.CGO (#1625) 2022-07-08 19:23:49 -04:00
listener_common.h Typo fix LTT_MSG_INSEPCT (#2778) 2023-06-29 16:45:53 -04:00
symbols.h game: Remove temporary CLI arg shim in gk (#2532) 2023-04-22 14:13:57 -04:00