@google-cloud/logging
Advanced tools
Comparing version 10.1.6 to 10.1.7
@@ -257,2 +257,3 @@ "use strict"; | ||
async write(entry, opts) { | ||
var _a, _b; | ||
const options = opts ? opts : {}; | ||
@@ -279,2 +280,8 @@ // Extract projectId & resource from Logging - inject & memoize if not. | ||
delete reqOpts.gaxOptions; | ||
// Propagate maxRetries properly into writeLogEntries call | ||
if (!((_a = options.gaxOptions) === null || _a === void 0 ? void 0 : _a.maxRetries) && ((_b = this.logging.options) === null || _b === void 0 ? void 0 : _b.maxRetries)) { | ||
options.gaxOptions = extend({ | ||
maxRetries: this.logging.options.maxRetries, | ||
}, options.gaxOptions); | ||
} | ||
return this.logging.loggingService.writeLogEntries(reqOpts, options.gaxOptions, this.defaultWriteDeleteCallback); | ||
@@ -281,0 +288,0 @@ } |
{ | ||
"name": "@google-cloud/logging", | ||
"version": "10.1.6", | ||
"version": "10.1.7", | ||
"description": "Cloud Logging Client Library for Node.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4205673
70960