We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 548f2de commit f49f4feCopy full SHA for f49f4fe
src/llama_stack_client/_utils/_logs.py
@@ -1,5 +1,6 @@
1
import os
2
import logging
3
+from rich.logging import RichHandler
4
5
logger: logging.Logger = logging.getLogger("llama_stack_client")
6
httpx_logger: logging.Logger = logging.getLogger("httpx")
@@ -10,6 +11,7 @@ def _basic_config() -> None:
10
11
logging.basicConfig(
12
format="[%(asctime)s - %(name)s:%(lineno)d - %(levelname)s] %(message)s",
13
datefmt="%Y-%m-%d %H:%M:%S",
14
+ handlers=[RichHandler(rich_tracebacks=True)],
15
)
16
17
0 commit comments