serverless-offline-msk
Version:
A serverless offline plugin that enables AWS MSK events
14 lines (9 loc) • 392 B
JavaScript
;
const { log, style } = require('@serverless/utils/log');
const processBackendNotificationRequest = require('@serverless/utils/process-backend-notification-request');
module.exports = (notifications) => {
const notification = processBackendNotificationRequest(notifications);
if (!notification) return;
log.notice();
log.notice(style.aside(notification.message));
};