2026-05-31 13:21:13 +02:00
|
|
|
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 };
|