Which Serilog sink should I choose for Azure Functions?
Event Hub sink is recommended for Azure Functions—provides asynchronous, reliable messaging with automatic retry, dead-letter handling, and Managed Identity authentication (zero secrets in code). Supports up to 1024KB message size. Avoid Log API sink for high-throughput—synchronous calls block function execution (adds 50-200ms latency per log event). Service Bus sink is alternative for queue-based scenarios (256KB limit). Blob Storage sink for batch/archive scenarios.
Related Questions
See all FAQs: [Troubleshooting Overview][]