{message}", colorize=True, backtrace=True, diagnose=True, level="DEBUG") # to see all the logs, set the level to TRACE; if you don't want to see those logs, set the level to DEBUG"> {message}", colorize=True, backtrace=True, diagnose=True, level="DEBUG") # to see all the logs, set the level to TRACE; if you don't want to see those logs, set the level to DEBUG"> {message}", colorize=True, backtrace=True, diagnose=True, level="DEBUG") # to see all the logs, set the level to TRACE; if you don't want to see those logs, set the level to DEBUG">
from loguru import logger
# Logger colors and hierarchy: trace(turquoise), debug(dark blue), info(white), success(green), warning(yellow), error(red)
logger.remove(); logger.add(sys.stdout, format = "<lvl>{message}</lvl>", colorize=True, backtrace=True, diagnose=True, level="DEBUG")
# to see all the logs, set the level to TRACE; if you don't want to see those logs, set the level to DEBUG