routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
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 };
|
||||
Reference in New Issue
Block a user