mirror of
https://github.com/mblanke/ThreatHunt.git
synced 2026-03-01 22:00:22 -05: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 };
|