// @blocklet/logger shim
function createLogger(_name) {
  return {
    info: function() { console.log.apply(console, ['[INFO]'].concat(Array.from(arguments))); },
    warn: function() { console.warn.apply(console, ['[WARN]'].concat(Array.from(arguments))); },
    error: function() { console.error.apply(console, ['[ERROR]'].concat(Array.from(arguments))); },
    debug: function() {},
  };
}

module.exports = createLogger;
