LogEntry class
A log entry in the CLI framework.
This class represents a single log message with its associated metadata, including the log level and timestamp.
Constructors
- LogEntry.new({required String message, required LogLevel level, required DateTime timestamp})
-
Creates a new LogEntry with the given message and level.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → LogLevel
-
The level of the log entry.
final
- message → String
-
The message to log.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
The timestamp of the log entry.
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