UNPKG

@carbon/ibm-products-web-components

Version:
26 lines (24 loc) 757 B
/** * Copyright IBM Corp. 2020, 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ //#region src/globals/internal/pconsole.ts const isProduction = false; const noop = () => void 0; const shimIfProduction = (fn) => fn; const log = shimIfProduction((...args) => console.log(...args)); const warn = shimIfProduction((...args) => console.warn(...args)); const error = shimIfProduction((...args) => console.error(...args)); var pconsole_default = { isProduction: false, noop, shimIfProduction, log, warn, error }; //#endregion export { pconsole_default as default, error, isProduction, log, noop, shimIfProduction, warn }; //# sourceMappingURL=pconsole.js.map