/**
 * Copyright (c) 2025 Broadcom. All Rights Reserved.
 * Broadcom Confidential. The term "Broadcom" refers to Broadcom Inc.
 * and/or its subsidiaries.
 */
export const HYPER_PLUGIN_DEBUG = "hyperPluginDebug";

export function log(...args : any[]) {
    const debug: boolean = JSON.parse(localStorage.getItem(HYPER_PLUGIN_DEBUG));
    if (debug) {
        console.log(...arguments);
    }
}

export const logger = {
    log: log,
};