JobLogRedactor class final

Line-buffered redaction over streamed job-log chunks.

Constructors

JobLogRedactor(String transform(String text))
Creates a redactor applying transform to every complete line run. The transform must be idempotent on already-masked text (the redaction pipeline is; a plain replaceAll is).

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transform → String Function(String text)
The per-line sanitizer (typically RedactionPipeline.redact).
final

Methods

flush() → String
Emits the buffered partial line at job settle (sanitized like every complete line). Empty when the stream ended on a newline.
ingest(String chunk) → String
Sanitizes chunk: complete lines through transform immediately, the trailing partial line held back until its newline arrives (or flush runs at settle) — unless it outgrows _maxCarryBytes, when it force-flushes sanitized with an overflow marker.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited