DartConsoleLogger class Null safety Logging

A Logger which formats logs in the same way as ConsoleLogger but uses Dart's print function.

Inheritance

Constructors

DartConsoleLogger([LogLevel? level])
Creates a Logger which formats logs in the same way as ConsoleLogger but uses Dart's print function.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
level LogLevel
The minimum log level for which log will be called.
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

log(LogLevel level, LogDomain domain, String message) → void
The callback which is invoked for each log message.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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