ITelemetryBaseLogger Interface

Packages > @fluidframework/common-definitions > ITelemetryBaseLogger

Interface to output telemetry events. Implemented by hosting app / loader

Signature:

export interface ITelemetryBaseLogger 

Properties

List of properties of this interface
Property Type Description
supportsTags true An optional boolean which indicates to the user of this interface that tags (i.e. ITaggedTelemetryPropertyType objects) are in use. Eventually this will be a required property, but this is a stopgap that allows older hosts to continue to pass through telemetry without trouble (this property will simply show up undefined), while our current logger implementation in telmetry-utils handles tags in a separate manner.

Methods

List of methods of this class
Method Description
send(event)

Events

supportsTags

An optional boolean which indicates to the user of this interface that tags (i.e. ITaggedTelemetryPropertyType objects) are in use. Eventually this will be a required property, but this is a stopgap that allows older hosts to continue to pass through telemetry without trouble (this property will simply show up undefined), while our current logger implementation in telmetry-utils handles tags in a separate manner.

Signature:

supportsTags?: true;

Methods

send

Signature:

send(event: ITelemetryBaseEvent): void;

Parameters

List of parameters
Parameter Type Description
event ITelemetryBaseEvent

Returns:

void