LogFile class

Constructors

LogFile(String location, {required bool enable, String? singleFileSizeLimit, int? singleFileHourLimit})

Properties

buffer List<String>
final
enable bool
getter/setter pair
fileNamePattern String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
location String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singleFileSizeLimit ↔ BinarySize
getter/setter pair

Methods

clear() Future<void>
clearCache() Future<void>
files() List<String>
filesCount() Future<int>
filesSize() Future<BinarySize?>
flush() → void
getCurrentFile() Future<File?>
getDir() Directory
getFileId() → void
getFileName() String
log(String message) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() Future<String>
toString() String
A string representation of this object.
inherited

Operators

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