@trendmoon/api-client
Version:
Official TypeScript client for Trendmoon API
26 lines • 724 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.debugLog = void 0;
exports.debugLog = {
log: (...args) => {
if (process.env.DEBUG_MODE === 'true') {
console.log('[DEBUG]', ...args);
}
},
error: (...args) => {
if (process.env.DEBUG_MODE === 'true') {
console.error('[DEBUG ERROR]', ...args);
}
},
info: (...args) => {
if (process.env.DEBUG_MODE === 'true') {
console.info('[DEBUG INFO]', ...args);
}
},
warn: (...args) => {
if (process.env.DEBUG_MODE === 'true') {
console.warn('[DEBUG WARN]', ...args);
}
}
};
//# sourceMappingURL=debug.js.map