DragonLogs class
The main logging class for DragonLogs.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Properties
-
sessionMetadata
→ Map<
String, dynamic> ? -
no setter
Static Methods
-
clearLogs(
) → Future< void> - Clears all logs.
-
clearSessionMetadata(
) → void - Clears the session metadata.
-
exportLogsStream(
) → Stream< String> - Exports the logs as a stream of strings.
-
exportLogsString(
) → Future< String> - Exports all logs as a single concatenated string.
-
exportLogsToDownload(
) → Future< void> - Exports the stored logs for download.
-
getLogFolderSize(
) → Future< int> - Gets the size of the log storage folder.
-
init(
) → Future< void> - Initializes the DragonLogs system.
-
setSessionMetadata(
Map< String, dynamic> metadata) → void - Sets the session metadata for the logger.