Skip to main content

Overview

This example enables the default EventLog JSONL sink for a plain inference request, then reads the resulting log file and prints the captured entries. Key concepts:
  • EventLog::enable(): programmatic opt-in for default runtime logging
  • InferenceRuntime::fromProvider(...): uses the built-in runtime event wiring
  • JSONL readback: inspect emitted inference and HTTP lifecycle events after the call

Example