@google-cloud/logging
Advanced tools
Comparing version 10.1.0 to 10.1.1
@@ -28,3 +28,3 @@ /*! | ||
import { Log, GetEntriesRequest, TailEntriesRequest, LogOptions } from './log'; | ||
import { LogSync } from './log-sync'; | ||
import { LogSync, LogSyncOptions } from './log-sync'; | ||
import { Sink } from './sink'; | ||
@@ -693,2 +693,3 @@ import { Duplex, Writable } from 'stream'; | ||
* @param {object} transport An optional write stream. | ||
* @param {LogSyncOptions} options An optional configuration object. | ||
* @returns {LogSync} | ||
@@ -709,3 +710,3 @@ * | ||
*/ | ||
logSync(name: string, transport?: Writable): LogSync; | ||
logSync(name: string, transport?: Writable, options?: LogSyncOptions): LogSync; | ||
/** | ||
@@ -712,0 +713,0 @@ * Get a reference to a Cloud Logging sink. |
@@ -759,2 +759,3 @@ "use strict"; | ||
* @param {object} transport An optional write stream. | ||
* @param {LogSyncOptions} options An optional configuration object. | ||
* @returns {LogSync} | ||
@@ -775,4 +776,4 @@ * | ||
*/ | ||
logSync(name, transport) { | ||
return new log_sync_1.LogSync(this, name, transport); | ||
logSync(name, transport, options) { | ||
return new log_sync_1.LogSync(this, name, transport, options); | ||
} | ||
@@ -779,0 +780,0 @@ /** |
{ | ||
"name": "@google-cloud/logging", | ||
"version": "10.1.0", | ||
"version": "10.1.1", | ||
"description": "Stackdriver Logging Client Library for Node.js", | ||
@@ -84,3 +84,3 @@ "keywords": [ | ||
"jsdoc-region-tag": "^2.0.0", | ||
"linkinator": "^2.0.3", | ||
"linkinator": "^4.0.0", | ||
"mocha": "^9.2.2", | ||
@@ -87,0 +87,0 @@ "nock": "^13.0.0", |
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
4022808
67643