LoggerRepository class abstract

Implementers

Constructors

LoggerRepository.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<LogEntry>
no setter

Methods

clearLogs() Future<void>
debug(String message, {String? category, String? tag, Map<String, dynamic>? metadata}) Future<void>
error(String message, {Object? error, StackTrace? stackTrace, String? category, String? tag, Map<String, dynamic>? metadata}) Future<void>
exportLogs() Future<List<Map<String, dynamic>>>
fatal(String message, {Object? error, StackTrace? stackTrace, String? category, String? tag, Map<String, dynamic>? metadata}) Future<void>
getLogs({LogFilter? filter}) Future<List<LogEntry>>
getStatistics() Future<LogStatistics>
info(String message, {String? category, String? tag, Map<String, dynamic>? metadata}) Future<void>
initialize({String? appName, String? appVersion, String? userId, LogLevel minimumLevel = LogLevel.verbose, LoggingConfig? config}) Future<void>
log(String s, {required LogLevel level, String? category, required Map<String, Object> metadata, String? tag}) → void
networkRequest(String s, String t, {required Map<String, String> headers, required Map<String, String> metadata}) Future<void>
networkResponse(int i, String s, Duration duration, {required Map<String, String> headers, required int contentLength, required Map<String, Object> metadata}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setUserId(String newUserId) → void
startNewSession() → void
toString() String
A string representation of this object.
inherited
userAction(String s, {required String screen, required Map<String, Object> properties}) → void
verbose(String message, {String? category, String? tag, Map<String, dynamic>? metadata}) Future<void>
warning(String message, {String? category, String? tag, Map<String, dynamic>? metadata}) Future<void>

Operators

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