@google-cloud/logging
Advanced tools
Comparing version 7.2.2 to 7.2.3
@@ -37,2 +37,7 @@ /*! | ||
* | ||
* Note, [Cloud Logging Quotas and limits]{@link https://cloud.google.com/logging/quotas} | ||
* dictates that the maximum log entry size, including all | ||
* [LogEntry Resource properties]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry}, | ||
* cannot exceed _approximately_ 256 KB. | ||
* | ||
* @see [LogEntry JSON representation]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry} | ||
@@ -39,0 +44,0 @@ * |
@@ -27,2 +27,7 @@ "use strict"; | ||
* | ||
* Note, [Cloud Logging Quotas and limits]{@link https://cloud.google.com/logging/quotas} | ||
* dictates that the maximum log entry size, including all | ||
* [LogEntry Resource properties]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry}, | ||
* cannot exceed _approximately_ 256 KB. | ||
* | ||
* @see [LogEntry JSON representation]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry} | ||
@@ -29,0 +34,0 @@ * |
@@ -282,6 +282,11 @@ /*! | ||
* | ||
* Note that using this method will not itself make any API requests. You will | ||
* use the object returned in other API calls, such as | ||
* Using this method will not itself make any API requests. You will use | ||
* the object returned in other API calls, such as | ||
* {@link Log#write}. | ||
* | ||
* Note, [Cloud Logging Quotas and limits]{@link https://cloud.google.com/logging/quotas} | ||
* dictates that the maximum log entry size, including all | ||
* [LogEntry Resource properties]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry}, | ||
* cannot exceed _approximately_ 256 KB. | ||
* | ||
* @see [LogEntry JSON representation]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry} | ||
@@ -288,0 +293,0 @@ * |
@@ -177,6 +177,11 @@ "use strict"; | ||
* | ||
* Note that using this method will not itself make any API requests. You will | ||
* use the object returned in other API calls, such as | ||
* Using this method will not itself make any API requests. You will use | ||
* the object returned in other API calls, such as | ||
* {@link Log#write}. | ||
* | ||
* Note, [Cloud Logging Quotas and limits]{@link https://cloud.google.com/logging/quotas} | ||
* dictates that the maximum log entry size, including all | ||
* [LogEntry Resource properties]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry}, | ||
* cannot exceed _approximately_ 256 KB. | ||
* | ||
* @see [LogEntry JSON representation]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry} | ||
@@ -183,0 +188,0 @@ * |
@@ -266,6 +266,11 @@ /*! | ||
* | ||
* Note that using this method will not itself make any API requests. You will | ||
* use the object returned in other API calls, such as | ||
* Using this method will not itself make any API requests. You will use | ||
* the object returned in other API calls, such as | ||
* {@link Log#write}. | ||
* | ||
* Note, [Cloud Logging Quotas and limits]{@link https://cloud.google.com/logging/quotas} | ||
* dictates that the maximum log entry size, including all | ||
* [LogEntry Resource properties]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry}, | ||
* cannot exceed _approximately_ 256 KB. | ||
* | ||
* @see [LogEntry JSON representation]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry} | ||
@@ -548,2 +553,7 @@ * | ||
* | ||
* Note, [Cloud Logging Quotas and limits]{@link https://cloud.google.com/logging/quotas} | ||
* dictates that the maximum cumulative size of all entries per write, | ||
* including all [LogEntry Resource properties]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry}, | ||
* cannot exceed _approximately_ 10 MB. | ||
* | ||
* @see [entries.write API Documentation]{@link https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/write} | ||
@@ -550,0 +560,0 @@ * |
@@ -7,2 +7,9 @@ # Changelog | ||
### [7.2.3](https://www.github.com/googleapis/nodejs-logging/compare/v7.2.2...v7.2.3) (2020-02-26) | ||
### Bug Fixes | ||
* **docs:** writeLog should be in async function ([498a2c3](https://www.github.com/googleapis/nodejs-logging/commit/498a2c3825644b2f6a71ac3e314ba2e3de9fac62)), closes [#693](https://www.github.com/googleapis/nodejs-logging/issues/693) | ||
### [7.2.2](https://www.github.com/googleapis/nodejs-logging/compare/v7.2.1...v7.2.2) (2020-02-20) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/logging", | ||
"description": "Stackdriver Logging Client Library for Node.js", | ||
"version": "7.2.2", | ||
"version": "7.2.3", | ||
"license": "Apache-2.0", | ||
@@ -34,2 +34,3 @@ "author": "Google Inc.", | ||
"docs": "jsdoc -c .jsdoc.js", | ||
"predocs": "npm run compile", | ||
"presystem-test": "npm run compile", | ||
@@ -36,0 +37,0 @@ "system-test": "c8 mocha build/system-test --timeout 600000", |
@@ -82,5 +82,8 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." | ||
// Writes the log entry | ||
await log.write(entry); | ||
console.log(`Logged: ${text}`); | ||
async function writeLog() { | ||
// Writes the log entry | ||
await log.write(entry); | ||
console.log(`Logged: ${text}`); | ||
} | ||
writeLog(); | ||
} | ||
@@ -87,0 +90,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2986498
54982
165