mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 21:17:30 +00:00
12 lines
260 B
JavaScript
12 lines
260 B
JavaScript
function debug(logLevel, ...messages) {
|
|
if (logLevel === 'debug')
|
|
console.log(...messages);
|
|
}
|
|
function warn(logLevel, warning) {
|
|
if (logLevel === 'debug' || logLevel === 'warn') {
|
|
console.warn(warning);
|
|
}
|
|
}
|
|
|
|
export { debug, warn };
|