LoggerAdapter class abstract

Base class for defining platform adapters for storing logs.

ログを保存するためのプラットフォームアダプターを定義するためのベースクラス。

Annotations

Constructors

LoggerAdapter()
Base class for defining platform adapters for storing logs.
const

Properties

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

Methods

error(Object exception, StackTrace? stackTrace, {String? name, DynamicMap? parameters}) → Future<void>
Report exception and stackTrace caught by try-catch.
logList() → Future<List<LogValue>>
Get a list of logs recorded.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String name, {DynamicMap? parameters}) → Future<void>
Execute the process of saving the log by passing name and parameters, which is the name of the log.
toString() → String
A string representation of this object.
inherited
trace(String name) → LoggerTraceValue
Create LoggerTraceValue by passing name, the name of the log.

Operators

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

Static Properties

primary → List<LoggerAdapter>
You can retrieve the list of LoggerAdapter given in LoggerAdapterScope first.
no setter