v0.1
This commit is contained in:
commit
4aaaf23d2f
2411 files changed
+1248679
No files matched your search
+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