Logger class abstract

Log everything

Implementers

Constructors

Logger()

Properties

context ↔ BuildContext
The context in which the service attached
latefinalinherited
hashCode → int
The hash code for this object.
no setterinherited
initialized ↔ bool
Service is initialized
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

ensureInitialize() → Future<bool>
Wait service is initialized.
inherited
error(BuildContext context, String name, {Map<String, dynamic>? payload, String? customId, String? title}) → void
important(BuildContext context, String name, {Map<String, dynamic>? payload, String? customId, String? title}) → void
info(BuildContext context, String name, {Map<String, dynamic>? payload, String? customId, String? title}) → void
init() → FutureOr<bool>
Init Service
inherited
log(LogMessage logMessage) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
verbose(BuildContext context, String name, {Map<String, dynamic>? payload, String? customId, String? title}) → void
warn(BuildContext context, String name, {Map<String, dynamic>? payload, String? customId, String? title}) → void

Operators

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

Static Methods

of(BuildContext context) → Logger