<PackageReference Include="Microsoft.ApplicationInsights" Version="3.1.1" />

Microsoft.ApplicationInsights.DataContracts.TraceTelemetry

Telemetry type used for log messages. Contains a time and message and optionally some additional metadata. Learn more
namespace Microsoft.ApplicationInsights.DataContracts { public sealed class TraceTelemetry : ITelemetry, ISupportProperties { public DateTimeOffset Timestamp { get; set; } public string Sequence { get; set; } public TelemetryContext Context { get; } public string Message { get; set; } public SeverityLevel? SeverityLevel { get; set; } public IDictionary<string, string> Properties { get; } public TraceTelemetry(); public TraceTelemetry(string message); public TraceTelemetry(string message, SeverityLevel severityLevel); } }