LocalLoggerAdapter class
Logging can be done locally on the terminal LoggerAdapter.
You can check the logs recorded at logList.
The log limit can be set with limit. The default value is 100
.
端末ローカル上にログを記録することができるLoggerAdapter。
logListで記録されたログを確認することができます。
limitでログの上限を設定可能です。初期値は100
です。
- Inheritance
-
- Object
- LoggerAdapter
- LocalLoggerAdapter
Constructors
- LocalLoggerAdapter.new({int limit = 100})
-
Logging can be done locally on the terminal LoggerAdapter.
const
Properties
- database → LoggerDatabase
-
Designated database.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int
-
Log limit.
final
- 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
andparameters
, 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
Static Properties
-
A common database throughout the application.
final