BIM.works SDKs - v3.0.0-b.115
    Preparing search index...
    interface LogProxy {
        debug: (...args: unknown[]) => void;
        error: (...args: unknown[]) => void;
        info: (...args: unknown[]) => void;
        warn: (...args: unknown[]) => void;
        setLogger(level: "NONE" | "ERROR" | "WARN" | "INFO", store: boolean): void;
    }
    Index

    Properties

    Methods

    Properties

    debug: (...args: unknown[]) => void

    Logs at DEBUG level through the active logger

    error: (...args: unknown[]) => void

    Logs at ERROR level through the active logger

    info: (...args: unknown[]) => void

    Logs at INFO level through the active logger; a no-op when the level is lower

    warn: (...args: unknown[]) => void

    Logs at WARN level through the active logger

    Methods

    • Change the log level

      Parameters

      • level: "NONE" | "ERROR" | "WARN" | "INFO"

        Either NONE, ERROR, WARN or INFO

      • store: boolean

        Whether the new level should be stored in local storage (and will be automatically retrieved on browser load)

      Returns void