ConsoleStorage class
A singleton class that manages console storage and logging.
Constructors
Properties
- enabled ↔ bool
-
Indicates whether logging is enabled.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
logs
→ List<
LogItem> -
no setter
-
logsNotifier
→ ValueNotifier<
List< LogItem> > -
no setter
- logZ ↔ LogZ?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unreadCount
→ ValueNotifier<
int> -
final
Methods
-
clear(
) → void - Clears all stored logs.
-
log(
String message) → void - Logs a verbose message.
-
logError(
String message) → void - Logs an error message.
-
logInfo(
String message) → void - Logs an informational message.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetUnreadCount(
) → void - Resets the unread log count to zero.
-
toString(
) → String -
A string representation of this object.
inherited
-
zipLog(
) → Future< File> - Initializes file logging with the given parameters.
- Zips the log file and initiates sharing.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
The shared singleton instance of ConsoleStorage.
final