Skip to content

Flush all spdlog loggers before processing crash exit#857

Merged
Force67 merged 1 commit intotiltedphoques:devfrom
rfortier:tweak/Update-PR-847-logging
Feb 18, 2026
Merged

Flush all spdlog loggers before processing crash exit#857
Force67 merged 1 commit intotiltedphoques:devfrom
rfortier:tweak/Update-PR-847-logging

Conversation

@rfortier
Copy link
Copy Markdown
Contributor

According to spdlog:: docs, invoking spdlog::shutdown() before continuing to the crash exit will flush all logs synchronously before returning.

…uing to the crash exit will flush all logs synchronously before returning.
@Force67 Force67 merged commit 17731bf into tiltedphoques:dev Feb 18, 2026
2 checks passed
rfortier added a commit to rfortier/TiltedEvolution-rwf that referenced this pull request Feb 28, 2026
Fix to PR tiltedphoques#857. What the docs did not say is that you must exit pretty much immediately after invoking spdlog::shutdown(), or it can provoke its own crashes. Fixed placement.
@rfortier rfortier mentioned this pull request Feb 28, 2026
miredirex pushed a commit that referenced this pull request Feb 28, 2026
Fix to PR #857. What the docs did not say is that you must exit pretty much immediately after invoking spdlog::shutdown(), or it can provoke its own crashes. Fixed placement.
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.

2 participants