LogFile class

Constructors

LogFile(String location, {required bool enable, String? wrapSplitter, String? singleFileSizeLimit, int? singleFileHourLimit, String? nameSpace, LoggerLevel? minLevel, Duration? retention, int maxDiskSizeBytes = 0})

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
wrapSplitter → String?
final

Methods

clear() → Future<void>
clearCache() → Future<void>
createArchive(String outputDirectory) → Future<String?>
dispose() → Future<void>
files() → List<String>
filesCount() → Future<int>
filesSize() → Future<BinarySize?>
flush() → void
flushAsync() → Future<void>
getCurrentFile() → Future<File?>
getDir() → Directory
getFileId() → void
getFileName() → String
initialize() → Future<void>
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