mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
9 lines
207 B
Python
9 lines
207 B
Python
![]() |
import logging
|
||
|
from rich.logging import RichHandler
|
||
|
|
||
|
FORMAT = "%(message)s"
|
||
|
logging.basicConfig(
|
||
|
level="NOTSET", format=FORMAT, datefmt="[%X]", handlers=[RichHandler()]
|
||
|
)
|
||
|
|
||
|
log = logging.getLogger("rich")
|