llama-stack-mirror/llama_stack/distribution/utils
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
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
config_dirs.py pre-commit lint 2024-09-28 16:04:41 -07:00
dynamic.py Add an introspection "Api.inspect" API 2024-10-02 15:41:14 -07:00
exec.py use logging instead of prints (#499) 2024-11-21 11:32:53 -08:00
model_utils.py Replace colon in path so it doesn't cause issue on Windows 2024-11-11 17:33:53 -08:00
prompt_for_config.py use logging instead of prints (#499) 2024-11-21 11:32:53 -08:00
serialize.py API Updates (#73) 2024-09-17 19:51:35 -07:00