remove SET_CONSUMER_VOLUME actions from log

This commit is contained in:
Stefan Otto
2018-11-20 12:17:02 +01:00
parent 6a30cf9526
commit 5c768e1ae6
+3 -1
View File
@@ -18,7 +18,9 @@ if (process.env.NODE_ENV === 'development')
{
const reduxLogger = createLogger(
{
predicate : (getState, action) => action.type !== 'SET_PRODUCER_VOLUME',
// filter VOLUME level actions from log
predicate : (getState, action) => ! (action.type == 'SET_PRODUCER_VOLUME'
|| action.type == 'SET_CONSUMER_VOLUME'),
duration : true,
timestamp : false,
level : 'log',