From be6f1480abfe61b8675803ae6e2a1f41eacad644 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Fri, 21 Aug 2015 12:28:40 +0200 Subject: [PATCH] Added default values to README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 1dfa76b..68d1142 100644 --- a/README.md +++ b/README.md @@ -24,16 +24,24 @@ __createLogger(options?: Object)__ #### __level (String)__ Level of `console`. `warn`, `error`, `info` or [else](https://developer.mozilla.org/en/docs/Web/API/console). +*Default: `console.log`* + #### __logger (Object)__ Implementation of the `console` API. Useful if you are using a custom, wrapped version of `console`. +*Default: `window.console`* + #### __collapsed (Boolean)__ Is group collapsed? +*Default: `false`* + #### __predicate (getState: Function, action: Object): boolean__ If specified this function will be called before each action is processed with this middleware. Receives `getState` function for accessing current store state and `action` object as parameters. Returns `true` if action should be logged, `false` otherwise. +*Default: `null` (always log)* + ##### Examples: ###### log only in dev mode ```javascript