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

Wrap all active debug messages under a setting #406

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

jonpas
Copy link
Contributor

@jonpas jonpas commented Jun 15, 2023

When merged this pull request will:

  • Hide systemChat debug messages if debug is not enabled, providing a more seamless experience.

All components should depend on uh60_ui, but as long as the whole pack is used, it shouldn't be a problem - and this is not the first use of the variable without the dependency.

Additionally, the best way to solve all of this would be to macroize the diag_log and systemChat, with a macro using either this setting or CBA's DEBUG_MODE_X (that obviously wouldn't support runtime enabling/disabling though).

@jonpas
Copy link
Contributor Author

jonpas commented Jun 15, 2023

Interaction-Framework will also need the same thing, but it doesn't already have a setting, so not sure how to best accomplish that. How important is runtime enabling/disabling debug messages in Interaction-Framework?

Copy link
Member

@BroBeansCPG BroBeansCPG left a comment

Choose a reason for hiding this comment

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

I thought we had done this 🤔

lgtm

@BroBeansCPG
Copy link
Member

Interaction-Framework will also need the same thing, but it doesn't already have a setting, so not sure how to best accomplish that. How important is runtime enabling/disabling debug messages in Interaction-Framework?

probably redundant for the end user, but perhaps handy to add a setting for future mod developers (if they exist) to help dev process

@YannikH YannikH merged commit 0c28cc0 into Project-Hatchet:Main Nov 3, 2023
1 check failed
@jonpas jonpas deleted the cleanup-log branch November 3, 2023 19:56
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.

None yet

3 participants