How do you implement logging and tracing for LLM applications?

Technical