46 lines
949 B
JavaScript
46 lines
949 B
JavaScript
|
"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"];
|