wecopttool.set_loglevel

set_loglevel(level, wecopttool=True, capytaine=True)[source]

Change the logging level of the wecopttool and capytaine loggers to the specified level.

Parameters:
  • level (str) – Level for python.logging.Logger.setLevel(). See list of logging levels.

  • wecopttool (bool) – Whether to change WecOptTool’s log level.

  • capytaine (bool) – Whether to change Capytaine’s log level.

Return type:

None