TraceTelemetryItem class
Represents a trace telemetry item in Application Insights.
- Implemented types
- Annotations
-
- @immutable
Constructors
-
TraceTelemetryItem({required Severity severity, required String message, Map<
String, Object> additionalProperties = const <String, Object>{}, DateTime? timestamp}) -
Creates an instance of TraceTelemetryItem with the specified
severity
andmessage
.
Properties
-
additionalProperties
→ Map<
String, Object> -
Any additional properties to submit with the telemetry.
final
- envelopeName → String
-
The Application Insights envelope name used when transmitting telemetry of this type.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
The trace message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → Severity
-
The trace severity.
final
- timestamp → DateTime
-
When the telemetry was created.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
{required TelemetryContext context}) → Map< String, dynamic> -
Gets a serialized representation of this telemetry.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited