Skip to content

Add proper debug messages support #16

@victorpopkov

Description

@victorpopkov

Verify

  • I understand that if I ignore these instructions, my issue may be closed without review.
  • I have made sure that there are no similar opened issues.
  • I have made sure that the mod version matches the latest release.

Is your feature request related to a problem? Please describe.

Best practise. Having regular prints for debugging purposes across the codebase is not the best approach. Moreover, uncommenting them each time while debugging is too much work.

It would be much easier to have a proper debug messages that will become visible when the debug mode is enabled. It's also a good practice to leave that mode to regular users as well, as some may send logs with an enabled debug mode, which makes pinpointing the issue much easier.

Since our SDK has debug module that covers this issue, we should consider migrating this mod to it.

Describe the solution you'd like

Use our SDK.Debug module, and add "Debug" configuration.

Describe alternatives you've considered

Reinvent the wheel.

Additional context

If applicable, add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions