# AppendOnlyJsonlToolWriteAuditSink

Append-only JSONL sink for write-governance audit records.

Class 

`IntelligenceX.Tools`

**Namespace**

`IntelligenceX.Tools`

**Assembly**

`IntelligenceX`

**Source**

[AppendOnlyJsonlToolWriteAuditSink.cs:13](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/AppendOnlyJsonlToolWriteAuditSink.cs#L13)

**Implements**

`IToolWriteAuditSink`

**Modifiers**

sealed

Append-only JSONL sink for write-governance audit records.

## Inheritance

- object
- AppendOnlyJsonlToolWriteAuditSink

Filter members 

Show inherited

## Constructors

`public AppendOnlyJsonlToolWriteAuditSink(string filePath)` [#](#constructor-ctor-string)

[AppendOnlyJsonlToolWriteAuditSink.cs:13](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/AppendOnlyJsonlToolWriteAuditSink.cs#L13)

Initializes a new append-only sink targeting a JSONL file path.

Parameters

**filePath string required**

Target JSONL file path.

Exceptions

- `ArgumentException` – Thrown when filePath is empty.

## Methods

`public void Append(ToolWriteAuditRecord record)` [#](#method-append-intelligencex-tools-toolwriteauditrecord)

[AppendOnlyJsonlToolWriteAuditSink.cs:39](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/AppendOnlyJsonlToolWriteAuditSink.cs#L39)

Appends a write-governance audit record.

Parameters

**record IntelligenceX.Tools.ToolWriteAuditRecord required**

Record to append.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string FilePath { get; }` [#](#property-filepath)

[AppendOnlyJsonlToolWriteAuditSink.cs:35](https://github.com/EvotecIT/IntelligenceX/blob/master/IntelligenceX/Tools/AppendOnlyJsonlToolWriteAuditSink.cs#L35)

Gets the resolved JSONL file path.

<!-- PowerForge markdown artifact sha256:B68A3E4893BAA190B17AE32BDCDA3A5BEA2C32F6B418BDE4B6B449F722237B60 -->
