OptiView Ads SDK
    Preparing search index...

    Interface DiagnosticEvent

    Machine-readable diagnostic record (stable code, category, JSON-serialisable context) behind onDiagnostic() and exportDiagnostics().

    interface DiagnosticEvent {
        category: DiagnosticCategory;
        code: string;
        context?: Record<string, unknown>;
        level: DiagnosticLevel;
        message: string;
        ts: number;
    }
    Index

    Functional area the record relates to.

    code: string

    Stable, machine-readable code (e.g. DA-MANIFEST-FETCH-FAILED).

    context?: Record<string, unknown>

    Optional JSON-serialisable structured context. Never contains secrets.

    Severity of the record.

    message: string

    Human-readable message.

    ts: number

    Unix epoch milliseconds when the record was created.