ILoggerCacheRepository class abstract interface Core - Logging System
Contract for log persistence and query operations.
- Implementers
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
-
addLog(
LoggerObjectBase log) → Future< void> - Adds a log entry.
-
clearLogs(
) → Future< void> - Removes all logs.
-
clearLogsByType(
EnumLoggerType type) → Future< void> - Removes logs by severity type.
-
deleteLogById(
int id) → Future< void> - Deletes a log entry by ID.
-
getAllLogs(
) → Future< List< LoggerObjectBase> > - Returns all stored logs.
-
getLogById(
int id) → Future< LoggerObjectBase?> - Returns a log entry by ID.
-
getLogsByType(
EnumLoggerType type) → Future< List< LoggerObjectBase> > - Returns logs filtered by severity type.
-
getMaxLogEntries(
) → int - Maximum number of entries per log type.
-
importLogs(
String content, ExportFormat format) → Future< void> -
Imports log entries from raw
contentandformat. -
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