You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
320 B
9 lines
320 B
import logging
|
|
from rich.console import Console
|
|
from rich.logging import RichHandler
|
|
from theme import solarized_theme
|
|
|
|
console = Console(highlight=False, theme=solarized_theme)
|
|
logging.basicConfig(handlers=[RichHandler(level="NOTSET", console=console)])
|
|
logger = logging.getLogger('rich')
|
|
logger.setLevel(logging.INFO)
|
|
|