oci-logging 2.79.1 → 2.80.0

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 (42) hide show
  1. package/lib/client.d.ts +32 -31
  2. package/lib/client.js +158 -63
  3. package/lib/client.js.map +1 -1
  4. package/lib/model/source.js +4 -2
  5. package/lib/model/source.js.map +1 -1
  6. package/lib/model/unified-agent-logging-source.js +4 -2
  7. package/lib/model/unified-agent-logging-source.js.map +1 -1
  8. package/lib/model/unified-agent-parser.js +4 -2
  9. package/lib/model/unified-agent-parser.js.map +1 -1
  10. package/lib/model/unified-agent-service-configuration-details.js +4 -2
  11. package/lib/model/unified-agent-service-configuration-details.js.map +1 -1
  12. package/lib/request/change-log-group-compartment-request.d.ts +1 -1
  13. package/lib/request/change-log-log-group-request.d.ts +1 -1
  14. package/lib/request/change-log-saved-search-compartment-request.d.ts +1 -1
  15. package/lib/request/change-unified-agent-configuration-compartment-request.d.ts +1 -1
  16. package/lib/request/create-log-group-request.d.ts +1 -1
  17. package/lib/request/create-log-request.d.ts +1 -1
  18. package/lib/request/create-log-saved-search-request.d.ts +1 -1
  19. package/lib/request/create-unified-agent-configuration-request.d.ts +1 -1
  20. package/lib/request/delete-log-group-request.d.ts +1 -1
  21. package/lib/request/delete-log-request.d.ts +1 -1
  22. package/lib/request/delete-log-saved-search-request.d.ts +1 -1
  23. package/lib/request/delete-unified-agent-configuration-request.d.ts +1 -1
  24. package/lib/request/delete-work-request-request.d.ts +1 -1
  25. package/lib/request/get-log-group-request.d.ts +1 -1
  26. package/lib/request/get-log-request.d.ts +1 -1
  27. package/lib/request/get-log-saved-search-request.d.ts +1 -1
  28. package/lib/request/get-unified-agent-configuration-request.d.ts +1 -1
  29. package/lib/request/get-work-request-request.d.ts +1 -1
  30. package/lib/request/list-log-groups-request.d.ts +1 -1
  31. package/lib/request/list-log-saved-searches-request.d.ts +1 -1
  32. package/lib/request/list-logs-request.d.ts +1 -1
  33. package/lib/request/list-services-request.d.ts +1 -1
  34. package/lib/request/list-unified-agent-configurations-request.d.ts +1 -1
  35. package/lib/request/list-work-request-errors-request.d.ts +1 -1
  36. package/lib/request/list-work-request-logs-request.d.ts +1 -1
  37. package/lib/request/list-work-requests-request.d.ts +1 -1
  38. package/lib/request/update-log-group-request.d.ts +1 -1
  39. package/lib/request/update-log-request.d.ts +1 -1
  40. package/lib/request/update-log-saved-search-request.d.ts +1 -1
  41. package/lib/request/update-unified-agent-configuration-request.d.ts +1 -1
  42. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -62,7 +62,7 @@ var LoggingManagementApiKeys;
62
62
  */
63
63
  class LoggingManagementClient {
64
64
  constructor(params, clientConfiguration) {
65
- this["_realmSpecificEndpointTemplateEnabled"] = false;
65
+ this["_realmSpecificEndpointTemplateEnabled"] = undefined;
66
66
  this["_endpoint"] = "";
67
67
  this["_defaultHeaders"] = {};
68
68
  this._circuitBreaker = null;
@@ -121,7 +121,11 @@ class LoggingManagementClient {
121
121
  set endpoint(endpoint) {
122
122
  this._endpoint = endpoint;
123
123
  this._endpoint = this._endpoint + "/20200531";
124
- oci_common_2.logger.info(`LoggingManagementClient endpoint set to ${this._endpoint}`);
124
+ if (this.logger)
125
+ this.logger.info(`LoggingManagementClient endpoint set to ${this._endpoint}`);
126
+ }
127
+ get logger() {
128
+ return common.LOG.logger;
125
129
  }
126
130
  /**
127
131
  * Determines whether realm specific endpoint should be used or not.
@@ -130,7 +134,8 @@ class LoggingManagementClient {
130
134
  */
131
135
  set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled) {
132
136
  this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled;
133
- oci_common_2.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
137
+ if (this.logger)
138
+ this.logger.info(`realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}`);
134
139
  if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) {
135
140
  this.endpoint = common.EndpointBuilder.createEndpointFromRegion(LoggingManagementClient.serviceEndpointTemplate, this._region, LoggingManagementClient.endpointServiceName);
136
141
  }
@@ -198,11 +203,12 @@ class LoggingManagementClient {
198
203
  * @param ChangeLogGroupCompartmentRequest
199
204
  * @return ChangeLogGroupCompartmentResponse
200
205
  * @throws OciError when an error occurs
201
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ChangeLogGroupCompartment.ts.html |here} to see how to use ChangeLogGroupCompartment API.
206
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ChangeLogGroupCompartment.ts.html |here} to see how to use ChangeLogGroupCompartment API.
202
207
  */
203
208
  changeLogGroupCompartment(changeLogGroupCompartmentRequest) {
204
209
  return __awaiter(this, void 0, void 0, function* () {
205
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#changeLogGroupCompartment.");
210
+ if (this.logger)
211
+ this.logger.debug("Calling operation LoggingManagementClient#changeLogGroupCompartment.");
206
212
  const operationName = "changeLogGroupCompartment";
207
213
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/ChangeLogGroupCompartment";
208
214
  const pathParams = {
@@ -216,6 +222,8 @@ class LoggingManagementClient {
216
222
  };
217
223
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
218
224
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogGroupCompartmentRequest.retryConfiguration, specRetryConfiguration);
225
+ if (this.logger)
226
+ retrier.logger = this.logger;
219
227
  const request = yield oci_common_2.composeRequest({
220
228
  baseEndpoint: this._endpoint,
221
229
  defaultHeaders: this._defaultHeaders,
@@ -257,11 +265,12 @@ class LoggingManagementClient {
257
265
  * @param ChangeLogLogGroupRequest
258
266
  * @return ChangeLogLogGroupResponse
259
267
  * @throws OciError when an error occurs
260
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ChangeLogLogGroup.ts.html |here} to see how to use ChangeLogLogGroup API.
268
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ChangeLogLogGroup.ts.html |here} to see how to use ChangeLogLogGroup API.
261
269
  */
262
270
  changeLogLogGroup(changeLogLogGroupRequest) {
263
271
  return __awaiter(this, void 0, void 0, function* () {
264
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#changeLogLogGroup.");
272
+ if (this.logger)
273
+ this.logger.debug("Calling operation LoggingManagementClient#changeLogLogGroup.");
265
274
  const operationName = "changeLogLogGroup";
266
275
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/ChangeLogLogGroup";
267
276
  const pathParams = {
@@ -276,6 +285,8 @@ class LoggingManagementClient {
276
285
  };
277
286
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
278
287
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogLogGroupRequest.retryConfiguration, specRetryConfiguration);
288
+ if (this.logger)
289
+ retrier.logger = this.logger;
279
290
  const request = yield oci_common_2.composeRequest({
280
291
  baseEndpoint: this._endpoint,
281
292
  defaultHeaders: this._defaultHeaders,
@@ -318,11 +329,12 @@ class LoggingManagementClient {
318
329
  * @param ChangeLogSavedSearchCompartmentRequest
319
330
  * @return ChangeLogSavedSearchCompartmentResponse
320
331
  * @throws OciError when an error occurs
321
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ChangeLogSavedSearchCompartment.ts.html |here} to see how to use ChangeLogSavedSearchCompartment API.
332
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ChangeLogSavedSearchCompartment.ts.html |here} to see how to use ChangeLogSavedSearchCompartment API.
322
333
  */
323
334
  changeLogSavedSearchCompartment(changeLogSavedSearchCompartmentRequest) {
324
335
  return __awaiter(this, void 0, void 0, function* () {
325
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#changeLogSavedSearchCompartment.");
336
+ if (this.logger)
337
+ this.logger.debug("Calling operation LoggingManagementClient#changeLogSavedSearchCompartment.");
326
338
  const operationName = "changeLogSavedSearchCompartment";
327
339
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/ChangeLogSavedSearchCompartment";
328
340
  const pathParams = {
@@ -337,6 +349,8 @@ class LoggingManagementClient {
337
349
  };
338
350
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
339
351
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeLogSavedSearchCompartmentRequest.retryConfiguration, specRetryConfiguration);
352
+ if (this.logger)
353
+ retrier.logger = this.logger;
340
354
  const request = yield oci_common_2.composeRequest({
341
355
  baseEndpoint: this._endpoint,
342
356
  defaultHeaders: this._defaultHeaders,
@@ -374,11 +388,12 @@ class LoggingManagementClient {
374
388
  * @param ChangeUnifiedAgentConfigurationCompartmentRequest
375
389
  * @return ChangeUnifiedAgentConfigurationCompartmentResponse
376
390
  * @throws OciError when an error occurs
377
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ChangeUnifiedAgentConfigurationCompartment.ts.html |here} to see how to use ChangeUnifiedAgentConfigurationCompartment API.
391
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ChangeUnifiedAgentConfigurationCompartment.ts.html |here} to see how to use ChangeUnifiedAgentConfigurationCompartment API.
378
392
  */
379
393
  changeUnifiedAgentConfigurationCompartment(changeUnifiedAgentConfigurationCompartmentRequest) {
380
394
  return __awaiter(this, void 0, void 0, function* () {
381
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#changeUnifiedAgentConfigurationCompartment.");
395
+ if (this.logger)
396
+ this.logger.debug("Calling operation LoggingManagementClient#changeUnifiedAgentConfigurationCompartment.");
382
397
  const operationName = "changeUnifiedAgentConfigurationCompartment";
383
398
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/ChangeUnifiedAgentConfigurationCompartment";
384
399
  const pathParams = {
@@ -393,6 +408,8 @@ class LoggingManagementClient {
393
408
  };
394
409
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
395
410
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeUnifiedAgentConfigurationCompartmentRequest.retryConfiguration, specRetryConfiguration);
411
+ if (this.logger)
412
+ retrier.logger = this.logger;
396
413
  const request = yield oci_common_2.composeRequest({
397
414
  baseEndpoint: this._endpoint,
398
415
  defaultHeaders: this._defaultHeaders,
@@ -435,11 +452,12 @@ class LoggingManagementClient {
435
452
  * @param CreateLogRequest
436
453
  * @return CreateLogResponse
437
454
  * @throws OciError when an error occurs
438
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/CreateLog.ts.html |here} to see how to use CreateLog API.
455
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/CreateLog.ts.html |here} to see how to use CreateLog API.
439
456
  */
440
457
  createLog(createLogRequest) {
441
458
  return __awaiter(this, void 0, void 0, function* () {
442
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#createLog.");
459
+ if (this.logger)
460
+ this.logger.debug("Calling operation LoggingManagementClient#createLog.");
443
461
  const operationName = "createLog";
444
462
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/CreateLog";
445
463
  const pathParams = {
@@ -453,6 +471,8 @@ class LoggingManagementClient {
453
471
  };
454
472
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
455
473
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogRequest.retryConfiguration, specRetryConfiguration);
474
+ if (this.logger)
475
+ retrier.logger = this.logger;
456
476
  const request = yield oci_common_2.composeRequest({
457
477
  baseEndpoint: this._endpoint,
458
478
  defaultHeaders: this._defaultHeaders,
@@ -495,11 +515,12 @@ class LoggingManagementClient {
495
515
  * @param CreateLogGroupRequest
496
516
  * @return CreateLogGroupResponse
497
517
  * @throws OciError when an error occurs
498
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/CreateLogGroup.ts.html |here} to see how to use CreateLogGroup API.
518
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/CreateLogGroup.ts.html |here} to see how to use CreateLogGroup API.
499
519
  */
500
520
  createLogGroup(createLogGroupRequest) {
501
521
  return __awaiter(this, void 0, void 0, function* () {
502
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#createLogGroup.");
522
+ if (this.logger)
523
+ this.logger.debug("Calling operation LoggingManagementClient#createLogGroup.");
503
524
  const operationName = "createLogGroup";
504
525
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/CreateLogGroup";
505
526
  const pathParams = {};
@@ -511,6 +532,8 @@ class LoggingManagementClient {
511
532
  };
512
533
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
513
534
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogGroupRequest.retryConfiguration, specRetryConfiguration);
535
+ if (this.logger)
536
+ retrier.logger = this.logger;
514
537
  const request = yield oci_common_2.composeRequest({
515
538
  baseEndpoint: this._endpoint,
516
539
  defaultHeaders: this._defaultHeaders,
@@ -552,11 +575,12 @@ class LoggingManagementClient {
552
575
  * @param CreateLogSavedSearchRequest
553
576
  * @return CreateLogSavedSearchResponse
554
577
  * @throws OciError when an error occurs
555
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/CreateLogSavedSearch.ts.html |here} to see how to use CreateLogSavedSearch API.
578
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/CreateLogSavedSearch.ts.html |here} to see how to use CreateLogSavedSearch API.
556
579
  */
557
580
  createLogSavedSearch(createLogSavedSearchRequest) {
558
581
  return __awaiter(this, void 0, void 0, function* () {
559
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#createLogSavedSearch.");
582
+ if (this.logger)
583
+ this.logger.debug("Calling operation LoggingManagementClient#createLogSavedSearch.");
560
584
  const operationName = "createLogSavedSearch";
561
585
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/CreateLogSavedSearch";
562
586
  const pathParams = {};
@@ -568,6 +592,8 @@ class LoggingManagementClient {
568
592
  };
569
593
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
570
594
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
595
+ if (this.logger)
596
+ retrier.logger = this.logger;
571
597
  const request = yield oci_common_2.composeRequest({
572
598
  baseEndpoint: this._endpoint,
573
599
  defaultHeaders: this._defaultHeaders,
@@ -612,11 +638,12 @@ class LoggingManagementClient {
612
638
  * @param CreateUnifiedAgentConfigurationRequest
613
639
  * @return CreateUnifiedAgentConfigurationResponse
614
640
  * @throws OciError when an error occurs
615
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/CreateUnifiedAgentConfiguration.ts.html |here} to see how to use CreateUnifiedAgentConfiguration API.
641
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/CreateUnifiedAgentConfiguration.ts.html |here} to see how to use CreateUnifiedAgentConfiguration API.
616
642
  */
617
643
  createUnifiedAgentConfiguration(createUnifiedAgentConfigurationRequest) {
618
644
  return __awaiter(this, void 0, void 0, function* () {
619
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#createUnifiedAgentConfiguration.");
645
+ if (this.logger)
646
+ this.logger.debug("Calling operation LoggingManagementClient#createUnifiedAgentConfiguration.");
620
647
  const operationName = "createUnifiedAgentConfiguration";
621
648
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/CreateUnifiedAgentConfiguration";
622
649
  const pathParams = {};
@@ -628,6 +655,8 @@ class LoggingManagementClient {
628
655
  };
629
656
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
630
657
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
658
+ if (this.logger)
659
+ retrier.logger = this.logger;
631
660
  const request = yield oci_common_2.composeRequest({
632
661
  baseEndpoint: this._endpoint,
633
662
  defaultHeaders: this._defaultHeaders,
@@ -668,11 +697,12 @@ class LoggingManagementClient {
668
697
  * @param DeleteLogRequest
669
698
  * @return DeleteLogResponse
670
699
  * @throws OciError when an error occurs
671
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteLog.ts.html |here} to see how to use DeleteLog API.
700
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/DeleteLog.ts.html |here} to see how to use DeleteLog API.
672
701
  */
673
702
  deleteLog(deleteLogRequest) {
674
703
  return __awaiter(this, void 0, void 0, function* () {
675
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteLog.");
704
+ if (this.logger)
705
+ this.logger.debug("Calling operation LoggingManagementClient#deleteLog.");
676
706
  const operationName = "deleteLog";
677
707
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/DeleteLog";
678
708
  const pathParams = {
@@ -687,6 +717,8 @@ class LoggingManagementClient {
687
717
  };
688
718
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
689
719
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogRequest.retryConfiguration, specRetryConfiguration);
720
+ if (this.logger)
721
+ retrier.logger = this.logger;
690
722
  const request = yield oci_common_2.composeRequest({
691
723
  baseEndpoint: this._endpoint,
692
724
  defaultHeaders: this._defaultHeaders,
@@ -726,11 +758,12 @@ class LoggingManagementClient {
726
758
  * @param DeleteLogGroupRequest
727
759
  * @return DeleteLogGroupResponse
728
760
  * @throws OciError when an error occurs
729
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteLogGroup.ts.html |here} to see how to use DeleteLogGroup API.
761
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/DeleteLogGroup.ts.html |here} to see how to use DeleteLogGroup API.
730
762
  */
731
763
  deleteLogGroup(deleteLogGroupRequest) {
732
764
  return __awaiter(this, void 0, void 0, function* () {
733
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteLogGroup.");
765
+ if (this.logger)
766
+ this.logger.debug("Calling operation LoggingManagementClient#deleteLogGroup.");
734
767
  const operationName = "deleteLogGroup";
735
768
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/DeleteLogGroup";
736
769
  const pathParams = {
@@ -744,6 +777,8 @@ class LoggingManagementClient {
744
777
  };
745
778
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
746
779
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogGroupRequest.retryConfiguration, specRetryConfiguration);
780
+ if (this.logger)
781
+ retrier.logger = this.logger;
747
782
  const request = yield oci_common_2.composeRequest({
748
783
  baseEndpoint: this._endpoint,
749
784
  defaultHeaders: this._defaultHeaders,
@@ -783,11 +818,12 @@ class LoggingManagementClient {
783
818
  * @param DeleteLogSavedSearchRequest
784
819
  * @return DeleteLogSavedSearchResponse
785
820
  * @throws OciError when an error occurs
786
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteLogSavedSearch.ts.html |here} to see how to use DeleteLogSavedSearch API.
821
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/DeleteLogSavedSearch.ts.html |here} to see how to use DeleteLogSavedSearch API.
787
822
  */
788
823
  deleteLogSavedSearch(deleteLogSavedSearchRequest) {
789
824
  return __awaiter(this, void 0, void 0, function* () {
790
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteLogSavedSearch.");
825
+ if (this.logger)
826
+ this.logger.debug("Calling operation LoggingManagementClient#deleteLogSavedSearch.");
791
827
  const operationName = "deleteLogSavedSearch";
792
828
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/DeleteLogSavedSearch";
793
829
  const pathParams = {
@@ -801,6 +837,8 @@ class LoggingManagementClient {
801
837
  };
802
838
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
803
839
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
840
+ if (this.logger)
841
+ retrier.logger = this.logger;
804
842
  const request = yield oci_common_2.composeRequest({
805
843
  baseEndpoint: this._endpoint,
806
844
  defaultHeaders: this._defaultHeaders,
@@ -835,11 +873,12 @@ class LoggingManagementClient {
835
873
  * @param DeleteUnifiedAgentConfigurationRequest
836
874
  * @return DeleteUnifiedAgentConfigurationResponse
837
875
  * @throws OciError when an error occurs
838
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteUnifiedAgentConfiguration.ts.html |here} to see how to use DeleteUnifiedAgentConfiguration API.
876
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/DeleteUnifiedAgentConfiguration.ts.html |here} to see how to use DeleteUnifiedAgentConfiguration API.
839
877
  */
840
878
  deleteUnifiedAgentConfiguration(deleteUnifiedAgentConfigurationRequest) {
841
879
  return __awaiter(this, void 0, void 0, function* () {
842
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteUnifiedAgentConfiguration.");
880
+ if (this.logger)
881
+ this.logger.debug("Calling operation LoggingManagementClient#deleteUnifiedAgentConfiguration.");
843
882
  const operationName = "deleteUnifiedAgentConfiguration";
844
883
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/DeleteUnifiedAgentConfiguration";
845
884
  const pathParams = {
@@ -853,6 +892,8 @@ class LoggingManagementClient {
853
892
  };
854
893
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
855
894
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
895
+ if (this.logger)
896
+ retrier.logger = this.logger;
856
897
  const request = yield oci_common_2.composeRequest({
857
898
  baseEndpoint: this._endpoint,
858
899
  defaultHeaders: this._defaultHeaders,
@@ -893,11 +934,12 @@ class LoggingManagementClient {
893
934
  * @param DeleteWorkRequestRequest
894
935
  * @return DeleteWorkRequestResponse
895
936
  * @throws OciError when an error occurs
896
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
937
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/DeleteWorkRequest.ts.html |here} to see how to use DeleteWorkRequest API.
897
938
  */
898
939
  deleteWorkRequest(deleteWorkRequestRequest) {
899
940
  return __awaiter(this, void 0, void 0, function* () {
900
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#deleteWorkRequest.");
941
+ if (this.logger)
942
+ this.logger.debug("Calling operation LoggingManagementClient#deleteWorkRequest.");
901
943
  const operationName = "deleteWorkRequest";
902
944
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/DeleteWorkRequest";
903
945
  const pathParams = {
@@ -911,6 +953,8 @@ class LoggingManagementClient {
911
953
  };
912
954
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
913
955
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteWorkRequestRequest.retryConfiguration, specRetryConfiguration);
956
+ if (this.logger)
957
+ retrier.logger = this.logger;
914
958
  const request = yield oci_common_2.composeRequest({
915
959
  baseEndpoint: this._endpoint,
916
960
  defaultHeaders: this._defaultHeaders,
@@ -951,11 +995,12 @@ class LoggingManagementClient {
951
995
  * @param GetLogRequest
952
996
  * @return GetLogResponse
953
997
  * @throws OciError when an error occurs
954
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetLog.ts.html |here} to see how to use GetLog API.
998
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/GetLog.ts.html |here} to see how to use GetLog API.
955
999
  */
956
1000
  getLog(getLogRequest) {
957
1001
  return __awaiter(this, void 0, void 0, function* () {
958
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#getLog.");
1002
+ if (this.logger)
1003
+ this.logger.debug("Calling operation LoggingManagementClient#getLog.");
959
1004
  const operationName = "getLog";
960
1005
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/GetLog";
961
1006
  const pathParams = {
@@ -969,6 +1014,8 @@ class LoggingManagementClient {
969
1014
  };
970
1015
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
971
1016
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogRequest.retryConfiguration, specRetryConfiguration);
1017
+ if (this.logger)
1018
+ retrier.logger = this.logger;
972
1019
  const request = yield oci_common_2.composeRequest({
973
1020
  baseEndpoint: this._endpoint,
974
1021
  defaultHeaders: this._defaultHeaders,
@@ -1012,11 +1059,12 @@ class LoggingManagementClient {
1012
1059
  * @param GetLogGroupRequest
1013
1060
  * @return GetLogGroupResponse
1014
1061
  * @throws OciError when an error occurs
1015
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetLogGroup.ts.html |here} to see how to use GetLogGroup API.
1062
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/GetLogGroup.ts.html |here} to see how to use GetLogGroup API.
1016
1063
  */
1017
1064
  getLogGroup(getLogGroupRequest) {
1018
1065
  return __awaiter(this, void 0, void 0, function* () {
1019
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#getLogGroup.");
1066
+ if (this.logger)
1067
+ this.logger.debug("Calling operation LoggingManagementClient#getLogGroup.");
1020
1068
  const operationName = "getLogGroup";
1021
1069
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/GetLogGroup";
1022
1070
  const pathParams = {
@@ -1029,6 +1077,8 @@ class LoggingManagementClient {
1029
1077
  };
1030
1078
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1031
1079
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogGroupRequest.retryConfiguration, specRetryConfiguration);
1080
+ if (this.logger)
1081
+ retrier.logger = this.logger;
1032
1082
  const request = yield oci_common_2.composeRequest({
1033
1083
  baseEndpoint: this._endpoint,
1034
1084
  defaultHeaders: this._defaultHeaders,
@@ -1072,11 +1122,12 @@ class LoggingManagementClient {
1072
1122
  * @param GetLogSavedSearchRequest
1073
1123
  * @return GetLogSavedSearchResponse
1074
1124
  * @throws OciError when an error occurs
1075
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetLogSavedSearch.ts.html |here} to see how to use GetLogSavedSearch API.
1125
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/GetLogSavedSearch.ts.html |here} to see how to use GetLogSavedSearch API.
1076
1126
  */
1077
1127
  getLogSavedSearch(getLogSavedSearchRequest) {
1078
1128
  return __awaiter(this, void 0, void 0, function* () {
1079
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#getLogSavedSearch.");
1129
+ if (this.logger)
1130
+ this.logger.debug("Calling operation LoggingManagementClient#getLogSavedSearch.");
1080
1131
  const operationName = "getLogSavedSearch";
1081
1132
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/GetLogSavedSearch";
1082
1133
  const pathParams = {
@@ -1089,6 +1140,8 @@ class LoggingManagementClient {
1089
1140
  };
1090
1141
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1091
1142
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
1143
+ if (this.logger)
1144
+ retrier.logger = this.logger;
1092
1145
  const request = yield oci_common_2.composeRequest({
1093
1146
  baseEndpoint: this._endpoint,
1094
1147
  defaultHeaders: this._defaultHeaders,
@@ -1132,11 +1185,12 @@ class LoggingManagementClient {
1132
1185
  * @param GetUnifiedAgentConfigurationRequest
1133
1186
  * @return GetUnifiedAgentConfigurationResponse
1134
1187
  * @throws OciError when an error occurs
1135
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetUnifiedAgentConfiguration.ts.html |here} to see how to use GetUnifiedAgentConfiguration API.
1188
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/GetUnifiedAgentConfiguration.ts.html |here} to see how to use GetUnifiedAgentConfiguration API.
1136
1189
  */
1137
1190
  getUnifiedAgentConfiguration(getUnifiedAgentConfigurationRequest) {
1138
1191
  return __awaiter(this, void 0, void 0, function* () {
1139
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#getUnifiedAgentConfiguration.");
1192
+ if (this.logger)
1193
+ this.logger.debug("Calling operation LoggingManagementClient#getUnifiedAgentConfiguration.");
1140
1194
  const operationName = "getUnifiedAgentConfiguration";
1141
1195
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/GetUnifiedAgentConfiguration";
1142
1196
  const pathParams = {
@@ -1149,6 +1203,8 @@ class LoggingManagementClient {
1149
1203
  };
1150
1204
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1151
1205
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
1206
+ if (this.logger)
1207
+ retrier.logger = this.logger;
1152
1208
  const request = yield oci_common_2.composeRequest({
1153
1209
  baseEndpoint: this._endpoint,
1154
1210
  defaultHeaders: this._defaultHeaders,
@@ -1192,11 +1248,12 @@ class LoggingManagementClient {
1192
1248
  * @param GetWorkRequestRequest
1193
1249
  * @return GetWorkRequestResponse
1194
1250
  * @throws OciError when an error occurs
1195
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1251
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API.
1196
1252
  */
1197
1253
  getWorkRequest(getWorkRequestRequest) {
1198
1254
  return __awaiter(this, void 0, void 0, function* () {
1199
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#getWorkRequest.");
1255
+ if (this.logger)
1256
+ this.logger.debug("Calling operation LoggingManagementClient#getWorkRequest.");
1200
1257
  const operationName = "getWorkRequest";
1201
1258
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/GetWorkRequest";
1202
1259
  const pathParams = {
@@ -1209,6 +1266,8 @@ class LoggingManagementClient {
1209
1266
  };
1210
1267
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1211
1268
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, specRetryConfiguration);
1269
+ if (this.logger)
1270
+ retrier.logger = this.logger;
1212
1271
  const request = yield oci_common_2.composeRequest({
1213
1272
  baseEndpoint: this._endpoint,
1214
1273
  defaultHeaders: this._defaultHeaders,
@@ -1257,11 +1316,12 @@ class LoggingManagementClient {
1257
1316
  * @param ListLogGroupsRequest
1258
1317
  * @return ListLogGroupsResponse
1259
1318
  * @throws OciError when an error occurs
1260
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListLogGroups.ts.html |here} to see how to use ListLogGroups API.
1319
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ListLogGroups.ts.html |here} to see how to use ListLogGroups API.
1261
1320
  */
1262
1321
  listLogGroups(listLogGroupsRequest) {
1263
1322
  return __awaiter(this, void 0, void 0, function* () {
1264
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#listLogGroups.");
1323
+ if (this.logger)
1324
+ this.logger.debug("Calling operation LoggingManagementClient#listLogGroups.");
1265
1325
  const operationName = "listLogGroups";
1266
1326
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroupSummary/ListLogGroups";
1267
1327
  const pathParams = {};
@@ -1280,6 +1340,8 @@ class LoggingManagementClient {
1280
1340
  };
1281
1341
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1282
1342
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogGroupsRequest.retryConfiguration, specRetryConfiguration);
1343
+ if (this.logger)
1344
+ retrier.logger = this.logger;
1283
1345
  const request = yield oci_common_2.composeRequest({
1284
1346
  baseEndpoint: this._endpoint,
1285
1347
  defaultHeaders: this._defaultHeaders,
@@ -1369,11 +1431,12 @@ class LoggingManagementClient {
1369
1431
  * @param ListLogSavedSearchesRequest
1370
1432
  * @return ListLogSavedSearchesResponse
1371
1433
  * @throws OciError when an error occurs
1372
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListLogSavedSearches.ts.html |here} to see how to use ListLogSavedSearches API.
1434
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ListLogSavedSearches.ts.html |here} to see how to use ListLogSavedSearches API.
1373
1435
  */
1374
1436
  listLogSavedSearches(listLogSavedSearchesRequest) {
1375
1437
  return __awaiter(this, void 0, void 0, function* () {
1376
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#listLogSavedSearches.");
1438
+ if (this.logger)
1439
+ this.logger.debug("Calling operation LoggingManagementClient#listLogSavedSearches.");
1377
1440
  const operationName = "listLogSavedSearches";
1378
1441
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/ListLogSavedSearches";
1379
1442
  const pathParams = {};
@@ -1392,6 +1455,8 @@ class LoggingManagementClient {
1392
1455
  };
1393
1456
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1394
1457
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogSavedSearchesRequest.retryConfiguration, specRetryConfiguration);
1458
+ if (this.logger)
1459
+ retrier.logger = this.logger;
1395
1460
  const request = yield oci_common_2.composeRequest({
1396
1461
  baseEndpoint: this._endpoint,
1397
1462
  defaultHeaders: this._defaultHeaders,
@@ -1440,11 +1505,12 @@ class LoggingManagementClient {
1440
1505
  * @param ListLogsRequest
1441
1506
  * @return ListLogsResponse
1442
1507
  * @throws OciError when an error occurs
1443
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListLogs.ts.html |here} to see how to use ListLogs API.
1508
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ListLogs.ts.html |here} to see how to use ListLogs API.
1444
1509
  */
1445
1510
  listLogs(listLogsRequest) {
1446
1511
  return __awaiter(this, void 0, void 0, function* () {
1447
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#listLogs.");
1512
+ if (this.logger)
1513
+ this.logger.debug("Calling operation LoggingManagementClient#listLogs.");
1448
1514
  const operationName = "listLogs";
1449
1515
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSummary/ListLogs";
1450
1516
  const pathParams = {
@@ -1467,6 +1533,8 @@ class LoggingManagementClient {
1467
1533
  };
1468
1534
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1469
1535
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listLogsRequest.retryConfiguration, specRetryConfiguration);
1536
+ if (this.logger)
1537
+ retrier.logger = this.logger;
1470
1538
  const request = yield oci_common_2.composeRequest({
1471
1539
  baseEndpoint: this._endpoint,
1472
1540
  defaultHeaders: this._defaultHeaders,
@@ -1555,11 +1623,12 @@ class LoggingManagementClient {
1555
1623
  * @param ListServicesRequest
1556
1624
  * @return ListServicesResponse
1557
1625
  * @throws OciError when an error occurs
1558
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListServices.ts.html |here} to see how to use ListServices API.
1626
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ListServices.ts.html |here} to see how to use ListServices API.
1559
1627
  */
1560
1628
  listServices(listServicesRequest) {
1561
1629
  return __awaiter(this, void 0, void 0, function* () {
1562
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#listServices.");
1630
+ if (this.logger)
1631
+ this.logger.debug("Calling operation LoggingManagementClient#listServices.");
1563
1632
  const operationName = "listServices";
1564
1633
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/ServiceSummary/ListServices";
1565
1634
  const pathParams = {};
@@ -1570,6 +1639,8 @@ class LoggingManagementClient {
1570
1639
  };
1571
1640
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1572
1641
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listServicesRequest.retryConfiguration, specRetryConfiguration);
1642
+ if (this.logger)
1643
+ retrier.logger = this.logger;
1573
1644
  const request = yield oci_common_2.composeRequest({
1574
1645
  baseEndpoint: this._endpoint,
1575
1646
  defaultHeaders: this._defaultHeaders,
@@ -1618,11 +1689,12 @@ class LoggingManagementClient {
1618
1689
  * @param ListUnifiedAgentConfigurationsRequest
1619
1690
  * @return ListUnifiedAgentConfigurationsResponse
1620
1691
  * @throws OciError when an error occurs
1621
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListUnifiedAgentConfigurations.ts.html |here} to see how to use ListUnifiedAgentConfigurations API.
1692
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ListUnifiedAgentConfigurations.ts.html |here} to see how to use ListUnifiedAgentConfigurations API.
1622
1693
  */
1623
1694
  listUnifiedAgentConfigurations(listUnifiedAgentConfigurationsRequest) {
1624
1695
  return __awaiter(this, void 0, void 0, function* () {
1625
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#listUnifiedAgentConfigurations.");
1696
+ if (this.logger)
1697
+ this.logger.debug("Calling operation LoggingManagementClient#listUnifiedAgentConfigurations.");
1626
1698
  const operationName = "listUnifiedAgentConfigurations";
1627
1699
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/ListUnifiedAgentConfigurations";
1628
1700
  const pathParams = {};
@@ -1644,6 +1716,8 @@ class LoggingManagementClient {
1644
1716
  };
1645
1717
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1646
1718
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listUnifiedAgentConfigurationsRequest.retryConfiguration, specRetryConfiguration);
1719
+ if (this.logger)
1720
+ retrier.logger = this.logger;
1647
1721
  const request = yield oci_common_2.composeRequest({
1648
1722
  baseEndpoint: this._endpoint,
1649
1723
  defaultHeaders: this._defaultHeaders,
@@ -1693,11 +1767,12 @@ class LoggingManagementClient {
1693
1767
  * @param ListWorkRequestErrorsRequest
1694
1768
  * @return ListWorkRequestErrorsResponse
1695
1769
  * @throws OciError when an error occurs
1696
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1770
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API.
1697
1771
  */
1698
1772
  listWorkRequestErrors(listWorkRequestErrorsRequest) {
1699
1773
  return __awaiter(this, void 0, void 0, function* () {
1700
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#listWorkRequestErrors.");
1774
+ if (this.logger)
1775
+ this.logger.debug("Calling operation LoggingManagementClient#listWorkRequestErrors.");
1701
1776
  const operationName = "listWorkRequestErrors";
1702
1777
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequestError/ListWorkRequestErrors";
1703
1778
  const pathParams = {
@@ -1713,6 +1788,8 @@ class LoggingManagementClient {
1713
1788
  };
1714
1789
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1715
1790
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, specRetryConfiguration);
1791
+ if (this.logger)
1792
+ retrier.logger = this.logger;
1716
1793
  const request = yield oci_common_2.composeRequest({
1717
1794
  baseEndpoint: this._endpoint,
1718
1795
  defaultHeaders: this._defaultHeaders,
@@ -1797,11 +1874,12 @@ class LoggingManagementClient {
1797
1874
  * @param ListWorkRequestLogsRequest
1798
1875
  * @return ListWorkRequestLogsResponse
1799
1876
  * @throws OciError when an error occurs
1800
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1877
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API.
1801
1878
  */
1802
1879
  listWorkRequestLogs(listWorkRequestLogsRequest) {
1803
1880
  return __awaiter(this, void 0, void 0, function* () {
1804
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#listWorkRequestLogs.");
1881
+ if (this.logger)
1882
+ this.logger.debug("Calling operation LoggingManagementClient#listWorkRequestLogs.");
1805
1883
  const operationName = "listWorkRequestLogs";
1806
1884
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequestLog/ListWorkRequestLogs";
1807
1885
  const pathParams = {
@@ -1817,6 +1895,8 @@ class LoggingManagementClient {
1817
1895
  };
1818
1896
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1819
1897
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, specRetryConfiguration);
1898
+ if (this.logger)
1899
+ retrier.logger = this.logger;
1820
1900
  const request = yield oci_common_2.composeRequest({
1821
1901
  baseEndpoint: this._endpoint,
1822
1902
  defaultHeaders: this._defaultHeaders,
@@ -1901,11 +1981,12 @@ class LoggingManagementClient {
1901
1981
  * @param ListWorkRequestsRequest
1902
1982
  * @return ListWorkRequestsResponse
1903
1983
  * @throws OciError when an error occurs
1904
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1984
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API.
1905
1985
  */
1906
1986
  listWorkRequests(listWorkRequestsRequest) {
1907
1987
  return __awaiter(this, void 0, void 0, function* () {
1908
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#listWorkRequests.");
1988
+ if (this.logger)
1989
+ this.logger.debug("Calling operation LoggingManagementClient#listWorkRequests.");
1909
1990
  const operationName = "listWorkRequests";
1910
1991
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/ListWorkRequests";
1911
1992
  const pathParams = {};
@@ -1924,6 +2005,8 @@ class LoggingManagementClient {
1924
2005
  };
1925
2006
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
1926
2007
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, specRetryConfiguration);
2008
+ if (this.logger)
2009
+ retrier.logger = this.logger;
1927
2010
  const request = yield oci_common_2.composeRequest({
1928
2011
  baseEndpoint: this._endpoint,
1929
2012
  defaultHeaders: this._defaultHeaders,
@@ -2014,11 +2097,12 @@ class LoggingManagementClient {
2014
2097
  * @param UpdateLogRequest
2015
2098
  * @return UpdateLogResponse
2016
2099
  * @throws OciError when an error occurs
2017
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/UpdateLog.ts.html |here} to see how to use UpdateLog API.
2100
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/UpdateLog.ts.html |here} to see how to use UpdateLog API.
2018
2101
  */
2019
2102
  updateLog(updateLogRequest) {
2020
2103
  return __awaiter(this, void 0, void 0, function* () {
2021
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#updateLog.");
2104
+ if (this.logger)
2105
+ this.logger.debug("Calling operation LoggingManagementClient#updateLog.");
2022
2106
  const operationName = "updateLog";
2023
2107
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/UpdateLog";
2024
2108
  const pathParams = {
@@ -2033,6 +2117,8 @@ class LoggingManagementClient {
2033
2117
  };
2034
2118
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2035
2119
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogRequest.retryConfiguration, specRetryConfiguration);
2120
+ if (this.logger)
2121
+ retrier.logger = this.logger;
2036
2122
  const request = yield oci_common_2.composeRequest({
2037
2123
  baseEndpoint: this._endpoint,
2038
2124
  defaultHeaders: this._defaultHeaders,
@@ -2075,11 +2161,12 @@ class LoggingManagementClient {
2075
2161
  * @param UpdateLogGroupRequest
2076
2162
  * @return UpdateLogGroupResponse
2077
2163
  * @throws OciError when an error occurs
2078
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/UpdateLogGroup.ts.html |here} to see how to use UpdateLogGroup API.
2164
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/UpdateLogGroup.ts.html |here} to see how to use UpdateLogGroup API.
2079
2165
  */
2080
2166
  updateLogGroup(updateLogGroupRequest) {
2081
2167
  return __awaiter(this, void 0, void 0, function* () {
2082
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#updateLogGroup.");
2168
+ if (this.logger)
2169
+ this.logger.debug("Calling operation LoggingManagementClient#updateLogGroup.");
2083
2170
  const operationName = "updateLogGroup";
2084
2171
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/UpdateLogGroup";
2085
2172
  const pathParams = {
@@ -2093,6 +2180,8 @@ class LoggingManagementClient {
2093
2180
  };
2094
2181
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2095
2182
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogGroupRequest.retryConfiguration, specRetryConfiguration);
2183
+ if (this.logger)
2184
+ retrier.logger = this.logger;
2096
2185
  const request = yield oci_common_2.composeRequest({
2097
2186
  baseEndpoint: this._endpoint,
2098
2187
  defaultHeaders: this._defaultHeaders,
@@ -2134,11 +2223,12 @@ class LoggingManagementClient {
2134
2223
  * @param UpdateLogSavedSearchRequest
2135
2224
  * @return UpdateLogSavedSearchResponse
2136
2225
  * @throws OciError when an error occurs
2137
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/UpdateLogSavedSearch.ts.html |here} to see how to use UpdateLogSavedSearch API.
2226
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/UpdateLogSavedSearch.ts.html |here} to see how to use UpdateLogSavedSearch API.
2138
2227
  */
2139
2228
  updateLogSavedSearch(updateLogSavedSearchRequest) {
2140
2229
  return __awaiter(this, void 0, void 0, function* () {
2141
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#updateLogSavedSearch.");
2230
+ if (this.logger)
2231
+ this.logger.debug("Calling operation LoggingManagementClient#updateLogSavedSearch.");
2142
2232
  const operationName = "updateLogSavedSearch";
2143
2233
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/UpdateLogSavedSearch";
2144
2234
  const pathParams = {
@@ -2152,6 +2242,8 @@ class LoggingManagementClient {
2152
2242
  };
2153
2243
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2154
2244
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateLogSavedSearchRequest.retryConfiguration, specRetryConfiguration);
2245
+ if (this.logger)
2246
+ retrier.logger = this.logger;
2155
2247
  const request = yield oci_common_2.composeRequest({
2156
2248
  baseEndpoint: this._endpoint,
2157
2249
  defaultHeaders: this._defaultHeaders,
@@ -2198,11 +2290,12 @@ class LoggingManagementClient {
2198
2290
  * @param UpdateUnifiedAgentConfigurationRequest
2199
2291
  * @return UpdateUnifiedAgentConfigurationResponse
2200
2292
  * @throws OciError when an error occurs
2201
- * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.79.1/logging/UpdateUnifiedAgentConfiguration.ts.html |here} to see how to use UpdateUnifiedAgentConfiguration API.
2293
+ * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/2.80.0/logging/UpdateUnifiedAgentConfiguration.ts.html |here} to see how to use UpdateUnifiedAgentConfiguration API.
2202
2294
  */
2203
2295
  updateUnifiedAgentConfiguration(updateUnifiedAgentConfigurationRequest) {
2204
2296
  return __awaiter(this, void 0, void 0, function* () {
2205
- oci_common_2.logger.debug("Calling operation LoggingManagementClient#updateUnifiedAgentConfiguration.");
2297
+ if (this.logger)
2298
+ this.logger.debug("Calling operation LoggingManagementClient#updateUnifiedAgentConfiguration.");
2206
2299
  const operationName = "updateUnifiedAgentConfiguration";
2207
2300
  const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/UpdateUnifiedAgentConfiguration";
2208
2301
  const pathParams = {
@@ -2216,6 +2309,8 @@ class LoggingManagementClient {
2216
2309
  };
2217
2310
  const specRetryConfiguration = common.NoRetryConfigurationDetails;
2218
2311
  const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateUnifiedAgentConfigurationRequest.retryConfiguration, specRetryConfiguration);
2312
+ if (this.logger)
2313
+ retrier.logger = this.logger;
2219
2314
  const request = yield oci_common_2.composeRequest({
2220
2315
  baseEndpoint: this._endpoint,
2221
2316
  defaultHeaders: this._defaultHeaders,