Ancillary Functions

set_logging

Set logging for the current process.

s1ard.ancillary.set_logging(config, debug=False)[source]

Set logging for the current process.

Parameters:
  • config (dict) – Dictionary of the parsed config parameters for the current process.

  • debug (bool) – Set logging level to DEBUG?

Returns:

The log handler for the current process.

Return type:

logging.Logger