LogKit class

Implemented types

Constructors

LogKit.withStorage({required Storage storage})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
logs List<LogEntry>
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage Storage?
final

Methods

clear() Future<void>
override
error(String message, {bool save = true, String? title}) → void
override
loadLogs() Future<void>
override
log(String message, {bool save = true, String? title}) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLog(LogEntry log) Future<void>
override
removeLogByIndex(int index) Future<void>
override
saveLogs() Future<void>
override
toString() String
A string representation of this object.
inherited
warning(String message, {bool save = true, String? title}) → void
override

Operators

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

Static Methods

createLogger({StorageType? storageType = StorageType.sharedPreferences}) Future<LogKit>