In both c++ and python we provide a HeexLog class, instantiated from the spdlog library. We recommend logging through this class since we have included builtin behaviors (like logging into specific files) that allow a smoother experience.To use it, you must first include it:
Copy
#include "HeexUtilsLog.h"
Once included, it is instantiated, and everywhere you include this, the same instance shall be used for a single executable. It creates a logs folder next to your executable, and creates a [executable_name].log file inside it.To log, use the following format: