LogOptions class

Options for sending a log entry

Constructors

LogOptions({required LogLevel level, required String message, String? stackTrace, String? metadata, String? userIdentifier, String? sessionId})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
level LogLevel
Log level (required)
final
message String
Log message (required)
final
metadata String?
Additional metadata as JSON string (optional)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId String?
Session identifier (optional)
final
stackTrace String?
Stack trace for errors (optional)
final
userIdentifier String?
User identifier for tracking (optional)
final

Methods

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

Operators

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