Closed kyleslight closed 4 years ago
To prevent logs triggered by some specific type of actions which may be disturbing in console
import { middlewares } from 'react-model' middlewares.config.logger.enable = ({modelName, actionName}) => ['aaa'].indexOf(actionName) !== -1
To prevent logs triggered by some specific type of actions which may be disturbing in console