LogItem class final

Constructors

LogItem.new({String? location, String? icon, Object? message, Set<Symbol> tags = const {}, bool showId = false, bool showTags = true, bool showTimestamp = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
icon String?
final
id String
final
location String?
final
message Object?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showId bool
final
showTags bool
final
showTimestamp bool
final
tags Set<Symbol>
final
timestamp DateTime
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toConsoleString() String
toJson({bool pretty = true}) String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override
toStyledConsoleString({required AnsiStyle? messageStyle, required AnsiStyle? nonMessageStyle}) String

Operators

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