AppLogger class

Thin wrapper over developer.log.

Optional redact hooks can be added later without changing call sites much.

Constructors

AppLogger({String name = 'lemsa'})

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
Logger name passed to developer.log.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

failure(AppFailure failure, {String? context}) → void
info(String message, {Map<String, Object?>? data}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
warning(String message, {Object? error}) → void

Operators

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