FlutterLogger class

Flutter Logger

Constructors

FlutterLogger()

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 Methods

deleteLogsForTag(String tag) → dynamic
Clean up logs for a specific tag (file)
fileForTag(String tag) Future<File>
Get file reference to log tag (file)
getLogTags() Future<List<String>>
Retrieves a list of all the log tags (files) created on the log directory
init({int maxFileSizeMb = 2}) → dynamic
Set up Flutter Logger maxFileSizeMb asgas
log({required String tag, required String logMessage}) → void
Log a logMessage to a log tag file
viewFileForTag(String tag, BuildContext context) → dynamic
Display a page showing logs for a tag (file)
viewLogTagsPage(BuildContext context) → dynamic
Display a page showing all available log tags (files)