foo-webview-sdk
    Preparing search index...

    Interface LogWriteParams

    Parameters for log.write. Write a line to a log file in the foobar2000 profile directory: webview_ui.log, or the file named by file.

    interface LogWriteParams {
        append?: boolean;
        args?: JsonValue[];
        file?: string;
        level?: string;
        message?: JsonValue;
        timestamp?: boolean;
    }
    Index
    append?: boolean

    Append to the file; false replaces its content with this line.

    true
    
    args?: JsonValue[]

    Values to write, separated by spaces: strings as they are, other values as their JSON text. Used only when message is absent.

    file?: string

    Name of another file in the profile directory. It must be a plain file name ending in .log or .txt and not a Windows device name such as CON; any other value is ignored and the line goes to webview_ui.log.

    level?: string

    Level written in brackets before the message, upper-cased.

    "info"
    
    message?: JsonValue

    What to write. A string is written as it is; any other JSON value as its JSON text. Takes precedence over args.

    timestamp?: boolean

    Prefix the line with the local time, as [YYYY-MM-DD HH:MM:SS.mmm].

    true