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 astackTrace
in a specificfile
during a specificevent
. -
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 specificfile
during a specificevent
. -
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