LogOutput class abstract

Destination for log records.

This file is platform-independent (no dart:io) so the core library can be compiled for the web. The file-based output lives in file_log_output.dart, exported through the reaxdb_dart_io.dart entry point.

Outputs passed to a ReaxLogger are owned by that logger: its close() closes them. Do not share one output instance between loggers unless you manage its lifecycle yourself.

Constructors

LogOutput()

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>
Releases any resources held by this output.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
write(LogLevel level, String message, {Map<String, dynamic>? metadata}) → Future<void>
Writes a single log record.

Operators

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