# Class StderrAuditSink

Writes structured JSON audit lines to `stderr`.

MCP-compatible: `stdout` is reserved for the MCP protocol wire format.

#### Since

0.9.0

#### Implements

- AuditSink

- Defined in utils/auditSink.ts:261

##### Index

### Constructors

constructor

### Methods

write

## Constructors

### constructor

- new StderrAuditSink(): StderrAuditSink

  #### Returns StderrAuditSink

## Methods

### write

- write(entry: AuditLogEntry): void

  Write a single audit entry to the sink

  #### Parameters

  - entry: AuditLogEntry

  #### Returns void

  Implementation of AuditSink.write

  - Defined in utils/auditSink.ts:262