Files
NapCatQQ/.pnpm-store/v3/files/ca/a480ac9f780c8d594f9871c53e789376107e97a9eaa5caaca7722a77a075eeb7847fa7292966197a6a143d03ac2926d7a0cf00eb9caf69d849b0afcf5213f0
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

20 lines
459 B
Plaintext

'use strict';
var node_process = require('process');
function debug(logLevel, ...messages) {
if (logLevel === 'debug')
console.log(...messages);
}
function warn(logLevel, warning) {
if (logLevel === 'debug' || logLevel === 'warn') {
if (typeof node_process.emitWarning === 'function')
node_process.emitWarning(warning);
else
console.warn(warning);
}
}
exports.debug = debug;
exports.warn = warn;