pastas.utils.set_log_level#

pastas.utils.set_log_level(level: int | str) None#

Set the log-level for Pastas.

Parameters:

level (str) – String with the level to log messages to the screen for. Options are: “DEBUG”, “INFO”, “WARNING”, and “ERROR”.

Examples

>>> import pandas as ps
>>> ps.set_log_level("ERROR")