Log actions in collapsed groups by default

This commit is contained in:
Jerko Steiner 2019-04-03 23:51:22 +08:00
parent 83861cc5be
commit a81a68b6e2

View File

@ -21,7 +21,7 @@ export class ReduxLogger {
const stateDiff = diff(prevState, nextState)
// tslint:disable-next-line
console.group(type)
console.groupCollapsed(type)
// tslint:disable-next-line
console.log(
'action: %O\nstateDiff: %O\nprevState: %O\nnextState: %O',