logger()
Returns a logger extension that logs events generated by Redux-Beacon.
Usage
Import the logger extension from Redux-Beacon:
import { logger } from 'redux-beacon/extensions/logger';
Include the logger when creating Redux Beacon middleware:
const middleware = createMiddleware(eventsMap, target, { logger });
Or when creating a Redux Beacon meta reducer:
const middleware = createMetaReducer(eventsMap, target, { logger });