3b1b-manim/manimlib/logger.py
2024-12-10 20:12:38 -06:00

13 lines
239 B
Python

import logging
from rich.logging import RichHandler
__all__ = ["log"]
FORMAT = "%(message)s"
logging.basicConfig(
level=logging.WARNING, format=FORMAT, datefmt="[%X]", handlers=[RichHandler()]
)
log = logging.getLogger("manimgl")