LogxxRecord class

Constructors

LogxxRecord({required Level level, required String message, required DateTime time, required LogxxItem content, String loggerName = "", int sequenceNumber = -1})
LogxxRecord.fromJson(Map<String, dynamic> json)
factory
LogxxRecord.fromJsonStr(String json)
factory

Properties

content LogxxItem
final
hashCode int
The hash code for this object.
no setterinherited
level → Level
final
loggerName String
Logger where this record is stored.
final
message String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequenceNumber int
Unique sequence number greater than all log records created before it.
final
time DateTime
Time when this record was created.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

getJsonStr({required Level level, required String? message, required DateTime time, required LogxxItem? content, String loggerName = "", int sequenceNumber = -1}) String
getJsonStrByLogRecord(LogRecord item) String