JsonHandler class final

One JSON object per line (containers, log shippers).

Implemented types

Constructors

JsonHandler([StringSink? sink])
Writes one JSON object per line, to sink or stdout.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
Flushes and closes the handler.
override
handle(LogRecord record) → void
Writes record.
override
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