@nteract/mythic-notifications
Version:
A notification system based on blueprintjs toasters and the myths redux framework
19 lines • 556 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.consoleNotificationSystem = void 0;
exports.consoleNotificationSystem = {
addNotification: (msg) => {
switch (msg.level) {
case "error":
console.error(msg.title, msg);
break;
case "warning":
console.warn(msg.title, msg);
break;
default:
console.log(msg.title, msg);
break;
}
}
};
//# sourceMappingURL=console.js.map