Open JCGoran opened 7 months ago
In SpatialIndex and HighFive we implement a layer of indirection. Which from Python one set to redirect to the Python logging
library. This should lead to a native logging experience in Python; and C++-only applications can continue to redirect to spdlog
.
The HighFive variation is here: https://github.com/BlueBrain/HighFive/blob/e54d176be806c60aa9d61e333912934cc6dfa3cc/include/highfive/H5Utility.hpp#L89
There doesn't seem to be a way to control the verbosity of the logging from the Python wrapper, only via the CLI (using
--verbose
), making it difficult to debug any issues using the Python wrapper. As we use the spdlog library for logging, the way to specify the verbosity of the logging is described here https://github.com/gabime/spdlog/issues/80