Add multi-level logging

Add multi-level logging. This allows finer control of what is written to standard output.

The logging level can be set via the SDAPI_LOGLEVEL environment variable.

Merge request reports

Loading