vona-module-a-logger 5.0.27 → 5.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -209,16 +209,7 @@ class Main extends BeanSimple {
|
|
|
209
209
|
async configLoaded(_config) {}
|
|
210
210
|
}
|
|
211
211
|
async function configDefault(_app) {
|
|
212
|
-
return {
|
|
213
|
-
clients: {
|
|
214
|
-
default(clientInfo) {
|
|
215
|
-
const transports = [this.bean.logger.makeTransportFile(clientInfo, 'error', 'error'), this.bean.logger.makeTransportFile(clientInfo, 'warn', 'warn'), this.bean.logger.makeTransportFile(clientInfo, 'http', 'http'), this.bean.logger.makeTransportFile(clientInfo, 'combined'), this.bean.logger.makeTransportConsole(clientInfo)].filter(item => !!item);
|
|
216
|
-
return {
|
|
217
|
-
transports
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
};
|
|
212
|
+
return {};
|
|
222
213
|
}
|
|
223
214
|
|
|
224
215
|
var _dec, _dec2, _class;
|