> For the complete documentation index, see [llms.txt](https://rangle.gitbook.io/redux-beacon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://rangle.gitbook.io/redux-beacon/index-2/logger.md).

# logger

An extension that logs events generated by Redux Beacon.

## Installation

```bash
npm install --save @redux-beacon/logger
```

## Import

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

## Usage

Include the logger when creating a middleware or meta reducer:

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