Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (16 sloc) 429 Bytes

Logger

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 });