reset_logger

Contents

reset_logger#

tollan.utils.log.reset_logger(sink: ~typing.Any = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>, *, verbose: bool = True, level: str = 'DEBUG', **kwargs: ~typing.Any) None[source]#

Reset the global logger to default configuration.

Removes all handlers and adds a new one with the given options.