pastas.utils.remove_file_handlers

remove_file_handlers(logger=None)[source]

Method to remove any file handlers in the logger of Pastas.

Parameters

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