European Parliament MCP Server API - v1.0.1
    Preparing search index...

    Class StructuredJsonSink

    Serialises each audit entry to JSON and passes it to a writer callback.

    Suitable for forwarding to structured log aggregators such as AWS CloudWatch, Elasticsearch, or Splunk.

    const sink = new StructuredJsonSink((json) => cloudwatch.putLogEvent(json));
    const logger = new AuditLogger({ sinks: [sink] });

    0.9.0

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    writer: (json: string) => void

    Methods