vona-module-a-logger 5.0.31 → 5.0.33

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 +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { BeanInfo, BeanBase, BeanAopMethodBase, SymbolBeanFullName, cast, formatLoggerFilter, formatLoggerDummy, formatLoggerConsole, BeanSimple, combineConfigDefault, deepExtend, BeanScopeBase } from 'vona';
1
+ import { BeanInfo, BeanBase, BeanAopMethodBase, SymbolBeanFullName, formatLoggerFilter, formatLoggerDummy, formatLoggerConsole, BeanSimple, combineConfigDefault, deepExtend, BeanScopeBase } from 'vona';
2
2
  import StdSerializers from 'pino-std-serializers';
3
3
  import { MiddlewareSystem, AopMethod } from 'vona-module-a-aspect';
4
4
  import { evaluateExpressions } from '@cabloy/utils';
@@ -99,9 +99,9 @@ let AopMethodLog = (_dec$3 = AopMethod({
99
99
  }
100
100
  _getContext(options, receiver) {
101
101
  return evaluateExpressions(options.context, {
102
- self: receiver,
103
- app: cast(receiver).app,
104
- ctx: cast(receiver).ctx
102
+ self: {
103
+ ...receiver
104
+ }
105
105
  });
106
106
  }
107
107
  _logValue(profiler, context, value, options, message) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-logger",
3
3
  "type": "module",
4
- "version": "5.0.31",
4
+ "version": "5.0.33",
5
5
  "title": "a-logger",
6
6
  "vonaModule": {
7
7
  "dependencies": {},