AppLogger class

Properties

appId String
app id
latefinal
baseUrl String
BaseUrl
getter/setter pair
callBackFun AppLoggerCallBack
If is not null, the function is called when a log is taken. If it is null, a post request is sent to the endpoint given in baseUrl.
latefinal
configuration ↔ Configuration
Holds package settings
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
Header
getter/setter pair
onError ErrorCallBack?
Runs when an error occurs
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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 AppLogger
no setter

Static Methods

init({required String baseUrl, required bool httpLog, required bool navigationLog, required AppRunner appRunner, required String appId, Map<String, dynamic>? headers, ErrorCallBack? onError, AppLoggerCallBack? callBackFun}) Future<void>