Source
Veteran OT User
Github: Source61/otclient-debug (https://github.com/Source61/otclient-debug)
Simple debugging whitelist/blacklist system for otclient, so instead of spamming print(...) and std::cout everywhere, you can use g_logger.debug("some text", "somesection") and it will only be logged/printed out if somesection has been whitelisted in myconfig.cpp, making debugging more organized.
I assume it won't be accepted as a PR to any of the main otclient repos, so I'm posting it here since I believe this can still be useful for cleaner debugging, both when in use and for cleaning up/removing the debug lines afterwards.
Simple debugging whitelist/blacklist system for otclient, so instead of spamming print(...) and std::cout everywhere, you can use g_logger.debug("some text", "somesection") and it will only be logged/printed out if somesection has been whitelisted in myconfig.cpp, making debugging more organized.
I assume it won't be accepted as a PR to any of the main otclient repos, so I'm posting it here since I believe this can still be useful for cleaner debugging, both when in use and for cleaning up/removing the debug lines afterwards.