LogRequest class
A basic Log Request
Used to hold quick access meta data for filtering and request information.
- Inheritance
-
- Object
- ToJsonFunctions
- LogRequest
Constructors
- LogRequest(LogEvent event, {SLogChannel? channel})
- A basic Log Request
Properties
- channel → SLogChannel?
-
The log channel that was retrieved from the logger
final
- event → LogEvent
-
The log event
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{LogEvent? event, SLogChannel? channel}) → LogRequest - Creates a copy of the current request 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