aepsych.utils_logging

aepsych.utils_logging module

aepsych.utils_logging.getLogger(level=20, log_path='logs')[source]

Get a logger with the specified level and log path.

Parameters:
  • level – logging level. Default is logging.INFO.

  • log_path (str) – path to save the log file. Default is “logs”.

Returns:

a logger object.

Return type:

logger