API Core - v1.5.0
    Preparing search index...

    Class APICallLogDataAbstract

    Abstract base for API call logging data, serializable to JSON with a fixed set of log keys. Serialization redacts through the injected Redaction — the same vocabulary the HttpError snapshot uses, so a secret cannot reach a log through either route.

    Hierarchy (View Summary)

    Index
    dataType: string
    method?: string
    params: unknown
    url?: string
    • Serializes the log data to indented JSON in the fixed key order, redacting every value through the injected vocabulary.

      Returns string

      The redacted, pretty-printed JSON log line.