IDevtoolsLogger Interface
Logger implementation that posts all telemetry events to the window (globalThis object). This logger is intended to integrate with the Fluid DevTools browser extension.
This API is provided as a beta preview and may change without notice.
To use, import via @fluidframework/devtools-core/beta
.
For more information about our API support guarantees, see here.
Signature
/** @sealed */
export interface IDevtoolsLogger extends ITelemetryBaseLogger
Extends: ITelemetryBaseLogger
Remarks
Note: external implementations of this interface are not supported. An IDevtoolsLogger
can be created via createDevtoolsLogger(baseLogger) - this logger may then be provided to the Fluid runtime to ensure telemetry messages are flowing to it. If you wish to enable telemetry functionality in the devtools, you **must** pass this same logger back when initializing the Devtools.