pastas.utils.set_log_level#

set_log_level(level)[source]#

Set the log-level of the console. This method is just a wrapper around set_console_handler.

Parameters

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

Return type

None

Examples

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