Select Git revision
-
Reiter, Christoph authored
This has proper support for rollup while providing the same API. This is what open-wc recommends now and uses in their @open-wc/testing package
Reiter, Christoph authoredThis has proper support for rollup while providing the same API. This is what open-wc recommends now and uses in their @open-wc/testing package
logger.js 229 B
class LoggerType {
get debug() {
if (window.location.hash.includes("debug")) {
return console.debug;
} else {
return () => {};
}
}
}
export const Logger = new LoggerType();