Logging
#
Activate loggingYou can activate the logs from SOIL using the Python logger.
#
Log from your modulesIn a module you can import the soil logger from soil.logger
and use it with the severity levels from Python: debug, info, warning, error, exception and critical.
Running the two examples above would output something like this:
Rembember logs are not logged because the level we have set is INFO. The second timestamp after the level name is the time in which the server recorded the log whereas the first is the time when the sdk created the log.