Skip to main content

Logger Interface

Logger interface for logging events from tree-agent operations.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/tree-agent/alpha.

For more information about our API support guarantees, see here.

Signature​

export interface Logger

Methods​

MethodAlertsReturn TypeDescription
log(message)AlphavoidLog a message.

Method Details​

log​

Log a message.

This API is provided as an alpha preview and may change without notice.

For more information about our API support guarantees, see here.

Signature​

log(message: string): void;

Parameters​

ParameterTypeDescription
messagestring