remove SET_CONSUMER_VOLUME actions from log
This commit is contained in:
+3
-1
@@ -18,7 +18,9 @@ if (process.env.NODE_ENV === 'development')
|
|||||||
{
|
{
|
||||||
const reduxLogger = createLogger(
|
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,
|
duration : true,
|
||||||
timestamp : false,
|
timestamp : false,
|
||||||
level : 'log',
|
level : 'log',
|
||||||
|
|||||||
Reference in New Issue
Block a user