Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy up debug logging #213

Merged
merged 5 commits into from
Oct 18, 2022
Merged

Tidy up debug logging #213

merged 5 commits into from
Oct 18, 2022

Conversation

dethrace-labs
Copy link
Owner

  • disable diagnostics by default (--enable-diagnostics command line parameter to enable)
  • print OpenGL information strings
  • remove random debug log lines that are not longer useful

@@ -3295,7 +3295,7 @@ int GetCDPathFromPathsTxtFile(char* pPath_name) {
int TestForOriginalCarmaCDinDrive() {
LOG_TRACE("()");

// Jeff: the symbol dump didn't include any local variable information.
// The symbol dump didn't include any local variable information.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For C90 compliance, these variables should be declared before the LOG_TRACE.

@dethrace-labs dethrace-labs merged commit 7fff315 into main Oct 18, 2022
@dethrace-labs dethrace-labs deleted the tidy_logging branch October 18, 2022 00:08
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