module.exports = (defaultSettings) => ({ lang: "de", // define the language as "de" exportGlobalContextKeys: true, // override the `exportGlobalContextKeys` value logging: { // replace the default logging option ...defaultSettings.logging, // this will reinject the default settings in logging console: { ...defaultSettings.logging.level, // this will reinject the default settings in logging.console level: "debug", // but here, we override the "info" level by "debug" }, }, });
module.exports = (defaultSettings) => ({ lang: "de", // define the language as "de" exportGlobalContextKeys: true, // override the `exportGlobalContextKeys` value logging: { // replace the default logging option ...defaultSettings.logging, // this will reinject the default settings in logging console: { ...defaultSettings.logging.level, // this will reinject the default settings in logging.console level: "debug", // but here, we override the "info" level by "debug" }, }, });
lang: "de", // define the language as "de"
exportGlobalContextKeys: true, // override the `exportGlobalContextKeys` value
logging: { // replace the default logging option ...defaultSettings.logging, // this will reinject the default settings in logging
console: {
...defaultSettings.logging.level, // this will reinject the default settings in logging.console
level: "debug", // but here, we override the "info" level by "debug"
},
},
});
lang: "de", // define the language as "de"
exportGlobalContextKeys: true, // override the `exportGlobalContextKeys` value
logging: { // replace the default logging option ...defaultSettings.logging, // this will reinject the default settings in logging
console: {
...defaultSettings.logging.level, // this will reinject the default settings in logging.console
level: "debug", // but here, we override the "info" level by "debug"
},
},
});