LogEntry class abstract
LogEntry
- Available extensions
- Annotations
-
- @DataClass(toJson: true, fromJson: true)
Constructors
-
LogEntry.new({required LogLevel level, required DateTime timestamp, Object? message, Object? error, StackTrace? stacktrace, Map<
String, dynamic> data}) -
Default constructor
factory
-
LogEntry.create({required LogLevel level, Object? message, Object? error, StackTrace? stacktrace, Map<
String, dynamic> data = const <String, dynamic>{}}) -
factory
- LogEntry.ctor()
- LogEntry.fromJson(Map json)
-
Creates an instance of LogEntry from
json
factory
Properties
- copyWith → _LogEntryCopyWithProxy
-
Available on LogEntry, provided by the $LogEntryExtension extension
no setter -
data
→ Map<
String, dynamic> -
no setter
- error → Object?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setter
- level → LogLevel
-
no setter
- message → Object?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stacktrace → StackTrace?
-
no setter
- timestamp → DateTime
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts LogEntry to a Map json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited