This module has the std::print module, which works well when compiling a model by hand, but very poorly when using the project fixture of pytest_inmanta.
The idea is to offer another interface for the user to "print out" information from the model, based on python logging.
Open questions:
- It can either be a single plugin, similar to
logging.Logger.log, or multiple plugins, for the different log levels?
- Keep the python logging interface, or the agent logging interface (keyword parameters are better there)?
This module has the
std::printmodule, which works well when compiling a model by hand, but very poorly when using theprojectfixture ofpytest_inmanta.The idea is to offer another interface for the user to "print out" information from the model, based on python logging.
Open questions:
logging.Logger.log, or multiple plugins, for the different log levels?