SentryLog class
Constructors
-
SentryLog.new({required DateTime timestamp, SentryId? traceId, required SentryLogLevel level, required String body, required Map<
String, SentryLogAttribute> attributes, int? severityNumber}) - The traceId is initially an empty default value and is populated during event processing; by the time processing completes, it is guaranteed to be a valid non-empty trace id.
Properties
-
attributes
↔ Map<
String, SentryLogAttribute> -
getter/setter pair
- body ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- level ↔ SentryLogLevel
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severityNumber ↔ int?
-
getter/setter pair
- timestamp ↔ DateTime
-
getter/setter pair
- traceId ↔ SentryId
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited