vona-module-a-logger 5.0.21 → 5.0.23
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/bean/aopMethod.log.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/types/logger.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ILoggerChildRecord, ILoggerClientRecord, LoggerLevel, Next, NextSync } from 'vona';
|
|
2
2
|
import type { IAopMethodExecute, IAopMethodGet, IAopMethodSet, IDecoratorAopMethodOptions } from 'vona-module-a-aspect';
|
|
3
3
|
import type winston from 'winston';
|
|
4
4
|
import { BeanAopMethodBase } from 'vona';
|
|
5
5
|
export interface IAopMethodOptionsLog extends IDecoratorAopMethodOptions {
|
|
6
6
|
level: LoggerLevel;
|
|
7
|
-
childName?: keyof
|
|
7
|
+
childName?: keyof ILoggerChildRecord;
|
|
8
8
|
clientName?: keyof ILoggerClientRecord;
|
|
9
9
|
args?: boolean;
|
|
10
10
|
result?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -155,7 +155,9 @@ let BeanLogger = (_dec$2 = Bean(), _dec2$2 = BeanInfo({
|
|
|
155
155
|
}) || _class$2) || _class$2);
|
|
156
156
|
|
|
157
157
|
var _dec$1, _dec2$1, _class$1;
|
|
158
|
-
let BroadcastSetLevel = (_dec$1 = Broadcast(
|
|
158
|
+
let BroadcastSetLevel = (_dec$1 = Broadcast({
|
|
159
|
+
instance: false
|
|
160
|
+
}), _dec2$1 = BeanInfo({
|
|
159
161
|
module: "a-logger"
|
|
160
162
|
}), _dec$1(_class$1 = _dec2$1(_class$1 = class BroadcastSetLevel extends BeanBroadcastBase {
|
|
161
163
|
async execute(data, isEmitter) {
|
package/dist/types/logger.d.ts
CHANGED