ConsoleLoggerAdapter class

LoggerAdapter for outputting logs to the console.

The log will be output with the name "katana".

You can filter the log contents by specifying filter.

コンソールにログを出力するためのLoggerAdapter

"katana"という名前でログが出力されます。

filterを指定するとログ内容をフィルタリングできます。

Inheritance
Available Extensions

Constructors

ConsoleLoggerAdapter({bool filter(String name, DynamicMap? parameters)?})
LoggerAdapter for outputting logs to the console.
const

Properties

filter → (bool Function(String name, DynamicMap? parameters)?)
Filter for when the send method is sent.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

logList() Future<List<LogValue>>
Get a list of logs recorded.
override
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.
override
toString() String
A string representation of this object.
inherited
trace(String name) LoggerTraceValue
Create LoggerTraceValue by passing name, the name of the log.
override

Operators

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