TLoggerJournal class

Constructors

TLoggerJournal({String logFileName = defaultLogFileName, int maxSize = defaultMaxSize})
factory

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

clearLogs() → Future<void>
Clears all log entries.
getLogFile() → Future<File>
Returns the current log file, ensuring all pending writes and trimming are complete.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordLog(String log) → void
Records a log entry by adding it to the queue.
setMaxSize(int maxSize) → void
Sets the maximum size of the log list.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

hasBeenInstantiated → bool
no setter
instance → TLoggerJournal
no setter

Constants

batchInterval → const Duration
batchSize → const int
defaultLogFileName → const String
defaultMaxSize → const int