Skip to main content

ITelemetryBaseLogger Interface

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

Signature

export interface ITelemetryBaseLogger

Properties

Property Modifiers Default Value Type Description
minLogLevel optional (LogLevel:variable).default LogLevel Minimum log level to be logged.

Methods

Method Return Type Description
send(event, logLevel) void Log a telemetry event, if it meets the appropriate log-level threshold (see minLogLevel).

Property Details

minLogLevel

Minimum log level to be logged.

Signature

minLogLevel?: LogLevel;

Type: LogLevel

Method Details

send

Log a telemetry event, if it meets the appropriate log-level threshold (see minLogLevel).

Signature

send(event: ITelemetryBaseEvent, logLevel?: LogLevel): void;

Parameters

Parameter Modifiers Type Description
event ITelemetryBaseEvent The event to log.
logLevel optional LogLevel The log level of the event. Default: (LogLevel:variable).default.