AxTraceLoggerOptions
Defined in: https://github.com/ax-llm/ax/blob/a8847bd2906efff202fde10d776fddd20fd2ff57/src/ax/trace/logger.ts#L22
Configuration options for AxTraceLogger
Properties
| Property | Type | Description |
|---|---|---|
logInputs? | boolean | Whether to include input values in traces (default: true) |
logOutputs? | boolean | Whether to include output values in traces (default: true) |
metadata? | Record<string, unknown> | Custom metadata to include in all traces |
name | string | Unique identifier for this agent/generator |
onTrace? | (trace: AxTrace) => void | Callback when a trace is logged |
storage | AxStorage | Storage backend for persisting traces |
throwOnError? | boolean | Whether logging errors should throw (default: false - errors are silently caught) |