LogEvent class
A basic log event
Used to hold filtering and some meta data
- Inheritance
-
- Object
- ToJsonFunctions
- LogEvent
Constructors
- LogEvent(Log log, {Level level = Level.INFO, StackTrace? trace})
- A basic log event
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → Level
-
The logs level
final
- log → Log
-
The log linked to the event
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trace → StackTrace?
-
The stack trace that is associated with the log
final
Methods
-
copyWith(
{Level? level, Log? log, StackTrace? trace}) → LogEvent - Creates a copy of the current event with new data.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
Converts the current class to JSON
inherited
-
toMap(
) → Map< String, dynamic> -
Converts the current class to a Map
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited