Skip to content

Conversation

@uniflare
Copy link
Contributor

@uniflare uniflare commented Jun 7, 2022

!B (Logging) Repair log messages not showing the actual message and fix-up newlines

  • Add LOG_G for guaranteed logging via stderr on Linux, or OutputDebugString on Windows
  • Prevent infinite loop by using LOG_G during storage init (used to find a suitable log file location)
  • Throw runtime_error for fatal errors (prevents extension loading in an incorrect state)

I didn't take care with the logging changes, it fixed the error, however i neglected the argument changes so the actual message from the call-site is never printed :/. Couple extras also.

…ix-up newlines

 - Add LOG_G for guaranteed logging via stderr on Linux, or OutputDebugString on Windows
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