InfospectLogger class

The InfospectLogger class provides a simple logger for the Infospect application.

Constructors

InfospectLogger({int? maximumSize = 1000})
Creates an instance of the InfospectLogger class.

Properties

callsSubject → BehaviorSubject<List<InfospectLog>>
A ValueListenable that allows listening to changes in the list of logs.
final
getAndroidRawLogs Future<String>
Retrieves raw logs from Android's logcat.
no setter
hashCode int
The hash code for this object.
no setterinherited
logs List<InfospectLog>
Returns the list of logs.
no setter
logsMap Map<String, List<Map<String, dynamic>>>
Returns the logs as a Map representation.
no setter
maximumSize int?
Gets the maximum number of logs to store or null for unlimited storage.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(InfospectLog log) → void
Adds a new log entry to the logger.
clear() → void
Clears all logs from the logger.
clearAndroidRawLogs() Future<void>
Clears raw logs from Android's logcat.
clearLogs() → void
Clears all logs stored in the logger.
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