The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here


set_console_handler(logger=None, level=20, fmt='%(levelname)s: %(message)s')[source]#

Method to add a console handler to the logger of Pastas.

  • logger (logging.Logger) – A Logger-instance. Use ps.logger to initialise the Logging instance that handles all logging throughout pastas, including all submodules and packages.

  • level (Optional[Any]) –

  • fmt (str) –

Return type