llama-stack/llama_stack
Dinesh Yeduguru 6395dadc2b
use logging instead of prints (#499)
# What does this PR do?

This PR moves all print statements to use logging. Things changed:
- Had to add `await start_trace("sse_generator")` to server.py to
actually get tracing working. else was not seeing any logs
- If no telemetry provider is provided in the run.yaml, we will write to
stdout
- by default, the logs are going to be in JSON, but we expose an option
to configure to output in a human readable way.
2024-11-21 11:32:53 -08:00
..
apis use logging instead of prints (#499) 2024-11-21 11:32:53 -08:00
cli Don't depend on templates.py when print llama stack build messages (#496) 2024-11-20 15:44:49 -08:00
distribution use logging instead of prints (#499) 2024-11-21 11:32:53 -08:00
providers use logging instead of prints (#499) 2024-11-21 11:32:53 -08:00
scripts Integrate distro docs into the restructured docs 2024-11-20 23:20:05 -08:00
templates Integrate distro docs into the restructured docs 2024-11-20 23:20:05 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00