Project-Hatchet / H-60

Other
28 stars 18 forks source link

Wrap all active debug messages under a setting #406

Closed jonpas closed 1 year ago

jonpas commented 1 year ago

When merged this pull request will:

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 commented 1 year ago

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?

BroBeansCPG commented 1 year ago

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