File tree Expand file tree Collapse file tree 3 files changed +100
-97
lines changed Expand file tree Collapse file tree 3 files changed +100
-97
lines changed Original file line number Diff line number Diff line change 10
10
__all__ = ["logger" , "console" ]
11
11
12
12
13
- import configparser
14
13
import logging
15
14
16
15
from rich .console import Console
17
16
from rich .logging import RichHandler
18
17
from rich .theme import Theme
18
+ from rich .traceback import install
19
19
from rich import print as printf
20
20
from rich import errors , color
21
21
import json
@@ -114,7 +114,7 @@ def set_file_logger(log_file_path):
114
114
logger = logging .getLogger ("manim" )
115
115
# The console is set to None as it will be changed by set_rich_logger.
116
116
console = None
117
-
117
+ install ()
118
118
# TODO : This is only temporary to keep the terminal output clean when working with ImageMobject and matplotlib plots
119
119
logging .getLogger ("PIL" ).setLevel (logging .INFO )
120
120
logging .getLogger ("matplotlib" ).setLevel (logging .INFO )
You can’t perform that action at this time.
0 commit comments