@sphereon/ssi-sdk.event-logger 0.33.0 → 0.33.1-feature.jose.vcdm.55

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.
@@ -8,7 +8,8 @@
8
8
  "filter": {
9
9
  "$ref": "#/components/schemas/FindActivityLoggingEventArgs"
10
10
  }
11
- }
11
+ },
12
+ "additionalProperties": false
12
13
  },
13
14
  "FindActivityLoggingEventArgs": {
14
15
  "type": "array",
@@ -17,18 +18,19 @@
17
18
  }
18
19
  },
19
20
  "PartialActivityLoggingEvent": {
21
+ "$ref": "#/components/schemas/Partial<ActivityLoggingEvent>"
22
+ },
23
+ "Partial<ActivityLoggingEvent>": {
20
24
  "type": "object",
21
25
  "properties": {
22
26
  "level": {
23
- "type": "object",
24
- "properties": {}
27
+ "$ref": "#/components/schemas/LogLevel"
25
28
  },
26
29
  "correlationId": {
27
30
  "type": "string"
28
31
  },
29
32
  "timestamp": {
30
- "type": "object",
31
- "properties": {},
33
+ "type": "string",
32
34
  "format": "date-time"
33
35
  },
34
36
  "diagnosticData": {},
@@ -36,87 +38,7 @@
36
38
  "type": "string"
37
39
  },
38
40
  "type": {
39
- "type": "object",
40
- "properties": {}
41
- },
42
- "originalCredential": {
43
- "type": "string"
44
- },
45
- "credentialHash": {
46
- "type": "string"
47
- },
48
- "parentCredentialHash": {
49
- "type": "string"
50
- },
51
- "credentialType": {
52
- "type": "object",
53
- "properties": {}
54
- },
55
- "sharePurpose": {
56
- "type": "string"
57
- },
58
- "system": {
59
- "type": "object",
60
- "properties": {}
61
- },
62
- "subSystemType": {
63
- "type": "object",
64
- "properties": {}
65
- },
66
- "actionType": {
67
- "type": "object",
68
- "properties": {}
69
- },
70
- "actionSubType": {
71
- "anyOf": [
72
- {
73
- "type": "object",
74
- "properties": {}
75
- },
76
- {
77
- "type": "string"
78
- }
79
- ]
80
- },
81
- "initiatorType": {
82
- "type": "object",
83
- "properties": {}
84
- },
85
- "systemCorrelationIdType": {
86
- "type": "object",
87
- "properties": {}
88
- },
89
- "systemCorrelationId": {
90
- "type": "string"
91
- },
92
- "systemAlias": {
93
- "type": "string"
94
- },
95
- "partyCorrelationType": {
96
- "type": "object",
97
- "properties": {}
98
- },
99
- "partyCorrelationId": {
100
- "type": "string"
101
- },
102
- "partyAlias": {
103
- "type": "string"
104
- },
105
- "description": {
106
- "type": "string"
107
- },
108
- "data": {}
109
- }
110
- },
111
- "ActivityLoggingEvent": {
112
- "type": "object",
113
- "properties": {
114
- "id": {
115
- "type": "string"
116
- },
117
- "type": {
118
- "type": "string",
119
- "const": "activity"
41
+ "$ref": "#/components/schemas/LoggingEventType.ACTIVITY"
120
42
  },
121
43
  "originalCredential": {
122
44
  "type": "string"
@@ -133,9 +55,6 @@
133
55
  "sharePurpose": {
134
56
  "type": "string"
135
57
  },
136
- "correlationId": {
137
- "type": "string"
138
- },
139
58
  "system": {
140
59
  "$ref": "#/components/schemas/System"
141
60
  },
@@ -172,30 +91,24 @@
172
91
  "description": {
173
92
  "type": "string"
174
93
  },
175
- "data": {},
176
- "level": {
177
- "$ref": "#/components/schemas/LogLevel"
178
- },
179
- "timestamp": {
180
- "type": "string",
181
- "format": "date-time"
182
- },
183
- "diagnosticData": {}
94
+ "data": {}
184
95
  },
185
- "required": [
186
- "actionSubType",
187
- "actionType",
188
- "correlationId",
189
- "description",
190
- "id",
191
- "initiatorType",
192
- "level",
193
- "subSystemType",
194
- "system",
195
- "timestamp",
196
- "type"
96
+ "additionalProperties": false
97
+ },
98
+ "LogLevel": {
99
+ "type": "number",
100
+ "enum": [
101
+ 0,
102
+ 1,
103
+ 2,
104
+ 3,
105
+ 4
197
106
  ]
198
107
  },
108
+ "LoggingEventType.ACTIVITY": {
109
+ "type": "string",
110
+ "const": "activity"
111
+ },
199
112
  "CredentialType": {
200
113
  "type": "string",
201
114
  "enum": [
@@ -306,14 +219,92 @@
306
219
  "phone"
307
220
  ]
308
221
  },
309
- "LogLevel": {
310
- "type": "number",
311
- "enum": [
312
- 0,
313
- 1,
314
- 2,
315
- 3,
316
- 4
222
+ "ActivityLoggingEvent": {
223
+ "type": "object",
224
+ "additionalProperties": false,
225
+ "properties": {
226
+ "id": {
227
+ "type": "string"
228
+ },
229
+ "type": {
230
+ "$ref": "#/components/schemas/LoggingEventType.ACTIVITY"
231
+ },
232
+ "originalCredential": {
233
+ "type": "string"
234
+ },
235
+ "credentialHash": {
236
+ "type": "string"
237
+ },
238
+ "parentCredentialHash": {
239
+ "type": "string"
240
+ },
241
+ "credentialType": {
242
+ "$ref": "#/components/schemas/CredentialType"
243
+ },
244
+ "sharePurpose": {
245
+ "type": "string"
246
+ },
247
+ "correlationId": {
248
+ "type": "string"
249
+ },
250
+ "system": {
251
+ "$ref": "#/components/schemas/System"
252
+ },
253
+ "subSystemType": {
254
+ "$ref": "#/components/schemas/SubSystem"
255
+ },
256
+ "actionType": {
257
+ "$ref": "#/components/schemas/ActionType"
258
+ },
259
+ "actionSubType": {
260
+ "$ref": "#/components/schemas/ActionSubType"
261
+ },
262
+ "initiatorType": {
263
+ "$ref": "#/components/schemas/InitiatorType"
264
+ },
265
+ "systemCorrelationIdType": {
266
+ "$ref": "#/components/schemas/SystemCorrelationIdType"
267
+ },
268
+ "systemCorrelationId": {
269
+ "type": "string"
270
+ },
271
+ "systemAlias": {
272
+ "type": "string"
273
+ },
274
+ "partyCorrelationType": {
275
+ "$ref": "#/components/schemas/PartyCorrelationType"
276
+ },
277
+ "partyCorrelationId": {
278
+ "type": "string"
279
+ },
280
+ "partyAlias": {
281
+ "type": "string"
282
+ },
283
+ "description": {
284
+ "type": "string"
285
+ },
286
+ "data": {},
287
+ "level": {
288
+ "$ref": "#/components/schemas/LogLevel"
289
+ },
290
+ "timestamp": {
291
+ "type": "string",
292
+ "format": "date-time"
293
+ },
294
+ "diagnosticData": {}
295
+ },
296
+ "required": [
297
+ "actionSubType",
298
+ "actionType",
299
+ "correlationId",
300
+ "description",
301
+ "id",
302
+ "initiatorType",
303
+ "level",
304
+ "subSystemType",
305
+ "system",
306
+ "timestamp",
307
+ "type"
317
308
  ]
318
309
  },
319
310
  "GetAuditEventsArgs": {
@@ -322,7 +313,8 @@
322
313
  "filter": {
323
314
  "$ref": "#/components/schemas/FindAuditLoggingEventArgs"
324
315
  }
325
- }
316
+ },
317
+ "additionalProperties": false
326
318
  },
327
319
  "FindAuditLoggingEventArgs": {
328
320
  "type": "array",
@@ -331,18 +323,19 @@
331
323
  }
332
324
  },
333
325
  "PartialAuditLoggingEvent": {
326
+ "$ref": "#/components/schemas/Partial<AuditLoggingEvent>"
327
+ },
328
+ "Partial<AuditLoggingEvent>": {
334
329
  "type": "object",
335
330
  "properties": {
336
331
  "level": {
337
- "type": "object",
338
- "properties": {}
332
+ "$ref": "#/components/schemas/LogLevel"
339
333
  },
340
334
  "correlationId": {
341
335
  "type": "string"
342
336
  },
343
337
  "timestamp": {
344
- "type": "object",
345
- "properties": {},
338
+ "type": "string",
346
339
  "format": "date-time"
347
340
  },
348
341
  "diagnosticData": {},
@@ -350,39 +343,25 @@
350
343
  "type": "string"
351
344
  },
352
345
  "type": {
353
- "type": "object",
354
- "properties": {}
346
+ "$ref": "#/components/schemas/LoggingEventType.AUDIT"
355
347
  },
356
348
  "system": {
357
- "type": "object",
358
- "properties": {}
349
+ "$ref": "#/components/schemas/System"
359
350
  },
360
351
  "subSystemType": {
361
- "type": "object",
362
- "properties": {}
352
+ "$ref": "#/components/schemas/SubSystem"
363
353
  },
364
354
  "actionType": {
365
- "type": "object",
366
- "properties": {}
355
+ "$ref": "#/components/schemas/ActionType"
367
356
  },
368
357
  "actionSubType": {
369
- "anyOf": [
370
- {
371
- "type": "object",
372
- "properties": {}
373
- },
374
- {
375
- "type": "string"
376
- }
377
- ]
358
+ "$ref": "#/components/schemas/ActionSubType"
378
359
  },
379
360
  "initiatorType": {
380
- "type": "object",
381
- "properties": {}
361
+ "$ref": "#/components/schemas/InitiatorType"
382
362
  },
383
363
  "systemCorrelationIdType": {
384
- "type": "object",
385
- "properties": {}
364
+ "$ref": "#/components/schemas/SystemCorrelationIdType"
386
365
  },
387
366
  "systemCorrelationId": {
388
367
  "type": "string"
@@ -391,8 +370,7 @@
391
370
  "type": "string"
392
371
  },
393
372
  "partyCorrelationType": {
394
- "type": "object",
395
- "properties": {}
373
+ "$ref": "#/components/schemas/PartyCorrelationType"
396
374
  },
397
375
  "partyCorrelationId": {
398
376
  "type": "string"
@@ -404,17 +382,22 @@
404
382
  "type": "string"
405
383
  },
406
384
  "data": {}
407
- }
385
+ },
386
+ "additionalProperties": false
387
+ },
388
+ "LoggingEventType.AUDIT": {
389
+ "type": "string",
390
+ "const": "audit"
408
391
  },
409
392
  "AuditLoggingEvent": {
410
393
  "type": "object",
394
+ "additionalProperties": false,
411
395
  "properties": {
412
396
  "id": {
413
397
  "type": "string"
414
398
  },
415
399
  "type": {
416
- "type": "string",
417
- "const": "audit"
400
+ "$ref": "#/components/schemas/LoggingEventType.AUDIT"
418
401
  },
419
402
  "correlationId": {
420
403
  "type": "string"
@@ -488,7 +471,8 @@
488
471
  },
489
472
  "required": [
490
473
  "event"
491
- ]
474
+ ],
475
+ "additionalProperties": false
492
476
  },
493
477
  "LogEventType": {
494
478
  "anyOf": [
@@ -502,6 +486,7 @@
502
486
  },
503
487
  "NonPersistedAuditLoggingEvent": {
504
488
  "type": "object",
489
+ "additionalProperties": false,
505
490
  "properties": {
506
491
  "system": {
507
492
  "$ref": "#/components/schemas/System"
@@ -514,23 +499,13 @@
514
499
  },
515
500
  "diagnosticData": {},
516
501
  "actionType": {
517
- "type": "object",
518
- "properties": {}
502
+ "$ref": "#/components/schemas/ActionType"
519
503
  },
520
504
  "actionSubType": {
521
- "anyOf": [
522
- {
523
- "type": "object",
524
- "properties": {}
525
- },
526
- {
527
- "type": "string"
528
- }
529
- ]
505
+ "$ref": "#/components/schemas/ActionSubType"
530
506
  },
531
507
  "systemCorrelationIdType": {
532
- "type": "object",
533
- "properties": {}
508
+ "$ref": "#/components/schemas/SystemCorrelationIdType"
534
509
  },
535
510
  "systemCorrelationId": {
536
511
  "type": "string"
@@ -539,8 +514,7 @@
539
514
  "type": "string"
540
515
  },
541
516
  "partyCorrelationType": {
542
- "type": "object",
543
- "properties": {}
517
+ "$ref": "#/components/schemas/PartyCorrelationType"
544
518
  },
545
519
  "partyCorrelationId": {
546
520
  "type": "string"
@@ -553,8 +527,7 @@
553
527
  },
554
528
  "data": {},
555
529
  "level": {
556
- "type": "object",
557
- "properties": {}
530
+ "$ref": "#/components/schemas/LogLevel"
558
531
  },
559
532
  "correlationId": {
560
533
  "type": "string"
@@ -571,6 +544,7 @@
571
544
  },
572
545
  "NonPersistedActivityLoggingEvent": {
573
546
  "type": "object",
547
+ "additionalProperties": false,
574
548
  "properties": {
575
549
  "system": {
576
550
  "$ref": "#/components/schemas/System"
@@ -591,8 +565,7 @@
591
565
  "type": "string"
592
566
  },
593
567
  "credentialType": {
594
- "type": "object",
595
- "properties": {}
568
+ "$ref": "#/components/schemas/CredentialType"
596
569
  },
597
570
  "sharePurpose": {
598
571
  "type": "string"
@@ -600,23 +573,13 @@
600
573
  "data": {},
601
574
  "diagnosticData": {},
602
575
  "actionType": {
603
- "type": "object",
604
- "properties": {}
576
+ "$ref": "#/components/schemas/ActionType"
605
577
  },
606
578
  "actionSubType": {
607
- "anyOf": [
608
- {
609
- "type": "object",
610
- "properties": {}
611
- },
612
- {
613
- "type": "string"
614
- }
615
- ]
579
+ "$ref": "#/components/schemas/ActionSubType"
616
580
  },
617
581
  "systemCorrelationIdType": {
618
- "type": "object",
619
- "properties": {}
582
+ "$ref": "#/components/schemas/SystemCorrelationIdType"
620
583
  },
621
584
  "systemCorrelationId": {
622
585
  "type": "string"
@@ -625,8 +588,7 @@
625
588
  "type": "string"
626
589
  },
627
590
  "partyCorrelationType": {
628
- "type": "object",
629
- "properties": {}
591
+ "$ref": "#/components/schemas/PartyCorrelationType"
630
592
  },
631
593
  "partyCorrelationId": {
632
594
  "type": "string"
@@ -638,8 +600,7 @@
638
600
  "type": "string"
639
601
  },
640
602
  "level": {
641
- "type": "object",
642
- "properties": {}
603
+ "$ref": "#/components/schemas/LogLevel"
643
604
  },
644
605
  "correlationId": {
645
606
  "type": "string"
@@ -1,23 +0,0 @@
1
- import { Loggers, LoggingEventType } from '@sphereon/ssi-types';
2
- import { IAgentPlugin } from '@veramo/core';
3
- import { EventLoggerOptions, IEventLogger, LoggingEvent, RequiredContext } from '../types/IEventLogger';
4
- /**
5
- * {@inheritDoc IEventLogger}
6
- */
7
- export declare const eventLoggerAuditMethods: Array<string>;
8
- export declare const eventLoggerMethods: Array<string>;
9
- export declare class EventLogger implements IAgentPlugin {
10
- readonly schema: any;
11
- readonly eventTypes: Array<LoggingEventType>;
12
- private readonly store?;
13
- readonly simpleLoggers: Loggers;
14
- readonly methods: IEventLogger;
15
- constructor(options: EventLoggerOptions);
16
- onEvent(event: LoggingEvent, context: RequiredContext): Promise<void>;
17
- private loggerGetAuditEvents;
18
- private loggerGetActivityEvents;
19
- private loggerLogGeneralEvent;
20
- private loggerLogAuditEvent;
21
- private loggerLogActivityEvent;
22
- }
23
- //# sourceMappingURL=EventLogger.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EventLogger.d.ts","sourceRoot":"","sources":["../../src/agent/EventLogger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAuB,MAAM,qBAAqB,CAAA;AAEpF,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAG3C,OAAO,EACL,kBAAkB,EAGlB,YAAY,EAIZ,YAAY,EAEZ,eAAe,EAChB,MAAM,uBAAuB,CAAA;AAE9B;;GAEG;AAGH,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,MAAM,CAMjD,CAAA;AACD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,MAAM,CAAgC,CAAA;AAE7E,qBAAa,WAAY,YAAW,YAAY;IAC9C,QAAQ,CAAC,MAAM,MAAsB;IACrC,QAAQ,CAAC,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAK;IACjD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAA0B;IACjD,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAA;IAE/B,QAAQ,CAAC,OAAO,EAAE,YAAY,CAM7B;gBAEW,OAAO,EAAE,kBAAkB;IAuB1B,OAAO,CAAC,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;YAoBpE,oBAAoB;YAUpB,uBAAuB;YAUvB,qBAAqB;YAOrB,mBAAmB;YAoBnB,sBAAsB;CAmBrC"}
@@ -1,133 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.EventLogger = exports.eventLoggerMethods = exports.eventLoggerAuditMethods = void 0;
13
- const ssi_types_1 = require("@sphereon/ssi-types");
14
- const uuid_1 = require("uuid");
15
- const index_1 = require("../index");
16
- /**
17
- * {@inheritDoc IEventLogger}
18
- */
19
- // Exposing the methods here for any REST implementation
20
- exports.eventLoggerAuditMethods = [
21
- 'loggerGetAuditEvents',
22
- 'loggerLogAuditEvent',
23
- 'loggerLogGeneralEvent',
24
- 'loggerLogActivityEvent',
25
- 'loggerGetActivityEvents',
26
- ];
27
- exports.eventLoggerMethods = [...exports.eventLoggerAuditMethods];
28
- class EventLogger {
29
- constructor(options) {
30
- var _a;
31
- this.schema = index_1.schema.IEventLogger;
32
- this.eventTypes = [];
33
- this.methods = {
34
- loggerGetAuditEvents: this.loggerGetAuditEvents.bind(this),
35
- loggerLogAuditEvent: this.loggerLogAuditEvent.bind(this),
36
- loggerLogGeneralEvent: this.loggerLogGeneralEvent.bind(this),
37
- loggerLogActivityEvent: this.loggerLogActivityEvent.bind(this),
38
- loggerGetActivityEvents: this.loggerGetActivityEvents.bind(this),
39
- };
40
- const { store, eventTypes } = options;
41
- const generalOpts = (_a = options.general) !== null && _a !== void 0 ? _a : { debugPkg: true };
42
- this.store = store;
43
- this.eventTypes = eventTypes;
44
- const methods = [];
45
- if (generalOpts.debugPkg) {
46
- methods.push(ssi_types_1.LogMethod.DEBUG_PKG);
47
- }
48
- if (generalOpts.console) {
49
- methods.push(ssi_types_1.LogMethod.CONSOLE);
50
- }
51
- if (generalOpts.events) {
52
- methods.push(ssi_types_1.LogMethod.EVENT);
53
- }
54
- this.simpleLoggers = new ssi_types_1.Loggers({
55
- methods,
56
- eventName: generalOpts.eventName,
57
- defaultLogLevel: generalOpts.defaultLogLevel,
58
- });
59
- }
60
- onEvent(event, context) {
61
- return __awaiter(this, void 0, void 0, function* () {
62
- switch (event.type) {
63
- case ssi_types_1.LoggingEventType.AUDIT:
64
- // Calling the context of the agent to make sure the REST client is called when configured
65
- yield context.agent.loggerLogAuditEvent({ event: event.data });
66
- break;
67
- case ssi_types_1.LoggingEventType.GENERAL:
68
- // Calling the context of the agent to make sure the REST client is called when configured
69
- // TODO: We might also want to do this locally though, as these logs are not persisted typically
70
- yield context.agent.loggerLogGeneralEvent({ event: event.data });
71
- break;
72
- case ssi_types_1.LoggingEventType.ACTIVITY:
73
- // Calling the context of the agent to make sure the REST client is called when configured
74
- yield context.agent.loggerLogActivityEvent({ event: event.data });
75
- break;
76
- default:
77
- return Promise.reject(Error(`Event type ${event.type} not supported`));
78
- }
79
- });
80
- }
81
- loggerGetAuditEvents(args) {
82
- return __awaiter(this, void 0, void 0, function* () {
83
- const { filter } = args !== null && args !== void 0 ? args : {};
84
- if (!this.store) {
85
- return Promise.reject(Error('No store available in options'));
86
- }
87
- return this.store.getAuditEvents({ filter });
88
- });
89
- }
90
- loggerGetActivityEvents(args) {
91
- return __awaiter(this, void 0, void 0, function* () {
92
- const { filter } = args !== null && args !== void 0 ? args : {};
93
- if (!this.store) {
94
- return Promise.reject(Error('No store available in options'));
95
- }
96
- return this.store.getActivityEvents({ filter });
97
- });
98
- }
99
- loggerLogGeneralEvent(args) {
100
- return __awaiter(this, void 0, void 0, function* () {
101
- var _a;
102
- const { event } = args;
103
- this.simpleLoggers.get(event.data.system).logl((_a = event.data.level) !== null && _a !== void 0 ? _a : ssi_types_1.LogLevel.INFO, event.data.data, event.data);
104
- return args.event;
105
- });
106
- }
107
- loggerLogAuditEvent(args) {
108
- return __awaiter(this, void 0, void 0, function* () {
109
- var _a, _b;
110
- const { event } = args;
111
- if (!this.store) {
112
- return Promise.reject(Error('No store available in options'));
113
- }
114
- return this.store.storeAuditEvent({
115
- event: Object.assign(Object.assign({}, event), { system: event.system, subSystemType: event.subSystemType, initiatorType: event.initiatorType, level: (_a = event.level) !== null && _a !== void 0 ? _a : ssi_types_1.LogLevel.INFO, correlationId: (_b = event.correlationId) !== null && _b !== void 0 ? _b : (0, uuid_1.v4)(), timestamp: new Date() }),
116
- });
117
- });
118
- }
119
- loggerLogActivityEvent(args) {
120
- return __awaiter(this, void 0, void 0, function* () {
121
- var _a, _b;
122
- const { event } = args;
123
- if (!this.store) {
124
- return Promise.reject(Error('No store available in options'));
125
- }
126
- return this.store.storeActivityEvent({
127
- event: Object.assign(Object.assign({}, event), { system: event.system, subSystemType: event.subSystemType, initiatorType: event.initiatorType, level: (_a = event.level) !== null && _a !== void 0 ? _a : ssi_types_1.LogLevel.INFO, correlationId: (_b = event.correlationId) !== null && _b !== void 0 ? _b : (0, uuid_1.v4)(), timestamp: new Date() }),
128
- });
129
- });
130
- }
131
- }
132
- exports.EventLogger = EventLogger;
133
- //# sourceMappingURL=EventLogger.js.map