foo-webview-sdk
    Preparing search index...

    Variable logConst

    log: {
        clear: () => Promise<LogClearResponse>;
        read: (lines?: number) => Promise<LogReadResponse>;
        write: (
            message: string,
            opts?: LogWriteParams,
        ) => Promise<LogWriteResponse>;
    } = ...

    log — log-file read/write namespace.

    Type Declaration

    • clear: () => Promise<LogClearResponse>

      Empty the component log file (webview_ui.log).

    • read: (lines?: number) => Promise<LogReadResponse>

      lines and totalLines are absent when the log file does not exist yet.

    • write: (message: string, opts?: LogWriteParams) => Promise<LogWriteResponse>

      Write a line to the component log file in the foobar2000 profile directory.