@carbon/ibm-products-web-components
Version:
Carbon for IBM Products Web Components
26 lines (24 loc) • 757 B
JavaScript
/**
* 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