@gus-eip/loggers 3.3.4 → 3.3.5
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/cloudwatch.logger.js +3 -2
- package/dist/enum.d.ts +2 -0
- package/dist/enum.js +6 -3
- package/dist/module.js +3 -2
- package/package.json +1 -1
@@ -13,7 +13,7 @@ exports.CloudWatchLoggerService = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
14
14
|
const aws_sdk_1 = require("aws-sdk");
|
15
15
|
const cloudwatch_event_formatter_1 = require("./cloudwatch.event.formatter");
|
16
|
-
let CloudWatchLoggerService =
|
16
|
+
let CloudWatchLoggerService = class CloudWatchLoggerService {
|
17
17
|
constructor(region, logGroupName) {
|
18
18
|
this.version = 'v1';
|
19
19
|
this.cloudwatch = new aws_sdk_1.CloudWatchLogs({ region: region });
|
@@ -119,7 +119,8 @@ let CloudWatchLoggerService = exports.CloudWatchLoggerService = class CloudWatch
|
|
119
119
|
await this.logToCloudWatch('error', logObject, logStreamName);
|
120
120
|
}
|
121
121
|
};
|
122
|
-
|
122
|
+
CloudWatchLoggerService = __decorate([
|
123
123
|
(0, common_1.Injectable)(),
|
124
124
|
__metadata("design:paramtypes", [String, String])
|
125
125
|
], CloudWatchLoggerService);
|
126
|
+
exports.CloudWatchLoggerService = CloudWatchLoggerService;
|
package/dist/enum.d.ts
CHANGED
@@ -21,6 +21,8 @@ export declare class LoggerEnum {
|
|
21
21
|
SYNC_APPLICATION_DETAILS: string;
|
22
22
|
SYNC_APPLICATION_STATUS_UPDATE: string;
|
23
23
|
SYNC_APPLICATION_DOCUMENT: string;
|
24
|
+
COMPOSITE_REQUEST_INITIATED: string;
|
25
|
+
COMPOSITE_REQUEST_COMPLETED: string;
|
24
26
|
};
|
25
27
|
UseCase: {
|
26
28
|
PROGRAM_INFO: string;
|
package/dist/enum.js
CHANGED
@@ -8,7 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
9
9
|
exports.LoggerEnum = void 0;
|
10
10
|
const common_1 = require("@nestjs/common");
|
11
|
-
let LoggerEnum =
|
11
|
+
let LoggerEnum = class LoggerEnum {
|
12
12
|
constructor() {
|
13
13
|
this.Event = {
|
14
14
|
NEW_APPLICATION: 'NEW_APPLICATION',
|
@@ -31,7 +31,9 @@ let LoggerEnum = exports.LoggerEnum = class LoggerEnum {
|
|
31
31
|
CREATED_OPPORTUNITYLINEITEM: 'CREATED_OPPORTUNITYLINEITEM',
|
32
32
|
SYNC_APPLICATION_DETAILS: 'SYNC_APPLICATION_DETAILS',
|
33
33
|
SYNC_APPLICATION_STATUS_UPDATE: 'SYNC_APPLICATION_STATUS_UPDATE',
|
34
|
-
SYNC_APPLICATION_DOCUMENT: 'SYNC_APPLICATION_DOCUMENT'
|
34
|
+
SYNC_APPLICATION_DOCUMENT: 'SYNC_APPLICATION_DOCUMENT',
|
35
|
+
COMPOSITE_REQUEST_INITIATED: 'COMPOSITE_REQUEST_INITIATED',
|
36
|
+
COMPOSITE_REQUEST_COMPLETED: 'COMPOSITE_REQUEST_COMPLETED'
|
35
37
|
};
|
36
38
|
this.UseCase = {
|
37
39
|
PROGRAM_INFO: 'SAVE_PROGRAMME_DETAILS',
|
@@ -75,6 +77,7 @@ let LoggerEnum = exports.LoggerEnum = class LoggerEnum {
|
|
75
77
|
};
|
76
78
|
}
|
77
79
|
};
|
78
|
-
|
80
|
+
LoggerEnum = __decorate([
|
79
81
|
(0, common_1.Injectable)()
|
80
82
|
], LoggerEnum);
|
83
|
+
exports.LoggerEnum = LoggerEnum;
|
package/dist/module.js
CHANGED
@@ -11,7 +11,7 @@ exports.LoggerModule = void 0;
|
|
11
11
|
const common_1 = require("@nestjs/common");
|
12
12
|
const cloudwatch_logger_1 = require("./cloudwatch.logger");
|
13
13
|
const enum_1 = require("./enum");
|
14
|
-
let LoggerModule =
|
14
|
+
let LoggerModule = LoggerModule_1 = class LoggerModule {
|
15
15
|
static forRoot(params) {
|
16
16
|
const cloudwatchProvider = {
|
17
17
|
provide: params.options,
|
@@ -28,6 +28,7 @@ let LoggerModule = exports.LoggerModule = LoggerModule_1 = class LoggerModule {
|
|
28
28
|
};
|
29
29
|
}
|
30
30
|
};
|
31
|
-
|
31
|
+
LoggerModule = LoggerModule_1 = __decorate([
|
32
32
|
(0, common_1.Module)({})
|
33
33
|
], LoggerModule);
|
34
|
+
exports.LoggerModule = LoggerModule;
|
package/package.json
CHANGED