Skip to main content
Version: v1

ITelemetryBufferedLogger Interface

Extension of ITelemetryBaseLogger with support for flushing all buffered logs that have not yet been fully processed (e.g. uploaded)

Signature

export interface ITelemetryBufferedLogger extends ITelemetryBaseLogger

Extends: ITelemetryBaseLogger

Methods

Method Return Type Description
flush() Promise<void> Flush any underlying buffer of events that have been sent so far but not yet fully processed - e.g. uploaded to a log ingestion service.

Method Details

flush

Flush any underlying buffer of events that have been sent so far but not yet fully processed - e.g. uploaded to a log ingestion service.

Signature

flush(): Promise<void>;

Returns

Return type: Promise<void>