Get a logger with the specified level and log path.
level – logging level. Default is logging.INFO.
log_path (str) – path to save the log file. Default is “logs”.
a logger object.
logger
API Reference