Skip to content

Comments

add simple per-application run log file#514

Merged
assertivist merged 7 commits intomainfrom
feat-logfile
Dec 3, 2025
Merged

add simple per-application run log file#514
assertivist merged 7 commits intomainfrom
feat-logfile

Conversation

@assertivist
Copy link
Member

@assertivist assertivist commented Nov 20, 2025

  • big mess to get milliseconds in the log file prefixes loglines with date, time, and SDL ticks
  • maybe should use SDL file operations instead of nice c++ streams
  • no idea if printf is what we want to replace the stdout logging
  • no idea if holding a file open will do bad things if the game crashes
  • no testing anywhere but macos
  • truncates file every time the app is opened (no rotation or keeping old files)

@assertivist
Copy link
Member Author

added a 4k line library called "backward-cpp" to give us the bare minimum of stack unwinding. This will give us object/function/offset in the event of a crash, which should help us narrow down the last networking issues.

@assertivist assertivist marked this pull request as ready for review December 2, 2025 09:53
@assertivist assertivist merged commit 1dee183 into main Dec 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant