diff --git a/src/logging.js b/src/logging.js index b5a31e90..fa6f6384 100644 --- a/src/logging.js +++ b/src/logging.js @@ -5,6 +5,8 @@ class DummyLogger { log() {} + debug() {} + info() {} warn() {} @@ -26,6 +28,10 @@ export function setLogger(logger = new DummyLogger()) { LOGGER = logger; } +export function debug(...args) { + return LOGGER.debug(...args); +} + export function log(...args) { return LOGGER.log(...args); }