ErrorLogger class

Logs errors when something went wrong

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

logError({required dynamic error, StackTrace? stackTrace, required String file, required String event}) → void
Logs an error and a stackTrace in a specific file during a specific event.
logInfo({required String file, required String message}) → void
Logs an info
logWarning({StackTrace? stackTrace, required String file, required String event, required String warning}) → void
Logs a warning with a stackTrace in a specific file during a specific event.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ErrorLogger
Gets the singleton instance of ErrorLogger
no setter