decouple scenario, add structure to memories
This commit is contained in:
12
logging_setup.py
Normal file
12
logging_setup.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import logging
|
||||
|
||||
from rich.logging import RichHandler
|
||||
|
||||
|
||||
def configure_logging(level="INFO"):
|
||||
logging.basicConfig(
|
||||
level=level,
|
||||
format="%(message)s",
|
||||
datefmt="[%X]",
|
||||
handlers=[RichHandler(rich_tracebacks=True)],
|
||||
)
|
||||
Reference in New Issue
Block a user