vona-module-a-logger 5.0.26 → 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.
Files changed (2) hide show
  1. package/dist/index.js +1 -10
  2. package/package.json +6 -2
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;
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "vona-module-a-logger",
3
3
  "type": "module",
4
- "version": "5.0.26",
4
+ "version": "5.0.28",
5
5
  "title": "a-logger",
6
6
  "vonaModule": {
7
- "dependencies": {}
7
+ "dependencies": {},
8
+ "globalDependencies": {
9
+ "winston": true,
10
+ "winston-transport": true
11
+ }
8
12
  },
9
13
  "description": "",
10
14
  "author": "",