NetLensLogger class

Logger used to handle logs from application.

Constructors

NetLensLogger({required int maximumSize})

Properties

hashCode → int
The hash code for this object.
no setterinherited
logs → List<NetLensLog>
Getter of all logs
no setter
logsStream → Stream<List<NetLensLog>>
Getter of stream of logs
no setter
maximumSize → int
Maximum logs size. If 0, logs will be not rotated.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(NetLensLog log) → void
Add one log. It sorts logs after adding new element. If maximumSize is set and max size is reached, first log will be deleted.
addAll(Iterable<NetLensLog> logs) → void
Adds all logs.
clearAndroidRawLogs() → Future<void>
Clears all raw logs.
clearLogs() → void
Clears all logs.
getAndroidRawLogs() → Future<String>
Returns raw logs from Android via ADB.
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