LogEntry<TState> class

Holds information about a log entry.

Constructors

LogEntry({required LogLevel logLevel, required String category, required EventId eventId, required TState state, Object? exception, required LogFormatter<TState> formatter})
Creates a new instance of LogEntry.

Properties

category String
The category name for the logger.
final
eventId EventId
The event id.
final
exception Object?
The exception related to this entry, if any.
final
formatter LogFormatter<TState>
The formatter function.
final
hashCode int
The hash code for this object.
no setterinherited
logLevel LogLevel
The log level.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → TState
The state object.
final

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