GT2/GT2-iOS/node_modules/redux-logger/lib/defaults.js

46 lines
949 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
level: "log",
logger: console,
logErrors: true,
collapsed: undefined,
predicate: undefined,
duration: false,
timestamp: true,
stateTransformer: function stateTransformer(state) {
return state;
},
actionTransformer: function actionTransformer(action) {
return action;
},
errorTransformer: function errorTransformer(error) {
return error;
},
colors: {
title: function title() {
return "inherit";
},
prevState: function prevState() {
return "#9E9E9E";
},
action: function action() {
return "#03A9F4";
},
nextState: function nextState() {
return "#4CAF50";
},
error: function error() {
return "#F20404";
}
},
diff: false,
diffPredicate: undefined,
// Deprecated options
transformer: undefined
};
module.exports = exports["default"];