LoggingService class Null safety
Handles logging of events.
- Implementers
Constructors
Properties
- error → void Function(dynamic msg, [Object? exception, StackTrace? stackTrace])
-
read-only
- fine → void Function(dynamic msg, [Object? exception, StackTrace? stackTrace])
-
read-only
- good → void Function(dynamic msg, [Object? exception, StackTrace? stackTrace])
-
read-only
- handle → void Function(Object exception, [StackTrace stackTrace, dynamic msg])
-
read-only
- handleError → void Function(Error error, [StackTrace stackTrace, dynamic msg])
-
read-only
- handleException → void Function(Exception exception, [StackTrace? stackTrace, dynamic msg])
-
read-only
- hashCode → int
-
The hash code for this object.
read-only, inherited
- info → void Function(dynamic msg, [Object? exception, StackTrace? stackTrace])
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- warning → void Function(dynamic msg, [Object exception, StackTrace stackTrace])
-
read-only
Methods
-
addLoggingInterceptor(
{required Dio dio}) → void - Adds logging to dio calls
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
successfulDispose(
{required String location}) → void -
successfulInit(
{required String location}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- locate → LoggingService
-
read-only