ska_sdp_instrumental_calibration.logger module

Module for logger.

ska_sdp_instrumental_calibration.logger.setup_logger(name, level=20)[source]

Setup a new logger with given name.

If there are no handlers set, this will call configure_logging function from ska_ser_logging to set the SKA standardized logging format at the root level, and also the handlers.

Parameters:
  • name (str) -- Namespace for the logger.

  • level (int) -- Integer representing standard logging levels

Returns:

Logger object.

Return type:

Logger