Preparing search index...

    Plugin component interface for collecting and exposing user log data.

        // IUserLogCollector extends IPluginComponent and provides the
    // onRevealLogRequest signal for navigating to specific log entries.
    const { IUserLogCollector } = await import('LensStudio:Logger');
    const collector = this.pluginSystem.findInterface(
    IUserLogCollector.interfaceId
    ) as import('LensStudio:Logger').IUserLogCollector;

    if (!Editor.isNull(collector)) {
    console.log('IUserLogCollector found');
    this.connections.push(
    collector.onRevealLogRequest.connect((logId: string) => {
    console.log('User requested to reveal log entry:', logId);
    })
    );
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    interfaceId: InterfaceId

    Unique identifier for the IUserLogCollector interface.

    onRevealLogRequest: signal1<string, void>

    Signal fired when a log reveal is requested, providing the associated log string.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean