logger

Last updated 4 months ago

An extension that logs events generated by Redux Beacon.

Installation

npm install --save @redux-beacon/logger

Import

import logger from '@redux-beacon/logger';

Usage

Include the logger when creating a middleware or meta reducer:

const middleware = createMiddleware(eventsMap, target, { logger });
const metaReducer = createMetaReducer(eventsMap, target, { logger });