Source code for bonsai_ipcc.log_setup
import logging
[docs]
def setup_logger(level=logging.INFO):
logging.basicConfig(level=level, format="%(asctime)s - %(levelname)s - %(message)s")
import logging
[docs]
def setup_logger(level=logging.INFO):
logging.basicConfig(level=level, format="%(asctime)s - %(levelname)s - %(message)s")