LogRecordEntity class

It is used to encapsulate information about a log record, including

the log message,

log level,

logger name,

timestamp,

and optional error and stack trace information.

Constructors

LogRecordEntity({required Object? error, required int level, required String loggerName, required String message, required StackTrace? stackTrace, required DateTime time, required Zone? zone})
It is used to encapsulate information about a log record, including
const

Properties

error Object?
object of error carried by the log record
final
hashCode int
The hash code for this object.
no setterinherited
level int
log level of the record
final
loggerName String
the logger that reported this log-record
final
message String
message from recorded log-record
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
possible stacktrace carried by this log-record
final
time DateTime
date time that indicates when the log-record was recorded to logger
final
zone Zone?
corresponding zone that this log-record was recorded from
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