"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.logger = void 0;
var actions_1 = require("../constants/actions");
var createLogger = require("redux-logger").createLogger;
exports.logger = createLogger({
    collapsed: true,
    stateTransformer: function (state) {
        return state;
    },
    //Note the { type } syntax: https://github.com/Microsoft/TypeScript/issues/9657
    predicate: function (getState, _a) {
        var type = _a.type;
        return type !== 'redux-form/BLUR' &&
            type !== 'redux-form/CHANGE' &&
            type !== 'redux-form/FOCUS' &&
            type !== 'redux-form/TOUCH' &&
            type !== actions_1.ActionType.MAP_RESIZED &&
            type !== actions_1.ActionType.UPDATE_MOUSE_COORDINATES &&
            type !== actions_1.ActionType.MAP_SET_BUSY_COUNT &&
            type !== actions_1.ActionType.ADD_LAYER_BUSY_WORKER &&
            type !== actions_1.ActionType.REMOVE_LAYER_BUSY_WORKER;
    },
});
//# sourceMappingURL=logger.js.map