@google-cloud/logging
Advanced tools
Comparing version 10.3.1 to 10.3.2
@@ -25,6 +25,6 @@ /*! | ||
export declare const TRACE_SAMPLED_KEY = "logging.googleapis.com/trace_sampled"; | ||
export declare type Timestamp = google.protobuf.ITimestamp | Date | string; | ||
export declare type LogSeverity = google.logging.type.LogSeverity | string; | ||
export declare type HttpRequest = google.logging.type.IHttpRequest | CloudLoggingHttpRequest | RawHttpRequest; | ||
export declare type LogEntry = Omit<google.logging.v2.ILogEntry, 'timestamp' | 'severity' | 'httpRequest'> & { | ||
export type Timestamp = google.protobuf.ITimestamp | Date | string; | ||
export type LogSeverity = google.logging.type.LogSeverity | string; | ||
export type HttpRequest = google.logging.type.IHttpRequest | CloudLoggingHttpRequest | RawHttpRequest; | ||
export type LogEntry = Omit<google.logging.v2.ILogEntry, 'timestamp' | 'severity' | 'httpRequest'> & { | ||
timestamp?: Timestamp | null; | ||
@@ -34,3 +34,3 @@ severity?: LogSeverity | null; | ||
}; | ||
export declare type Data = any; | ||
export type Data = any; | ||
export interface EntryJson { | ||
@@ -37,0 +37,0 @@ timestamp: Timestamp; |
@@ -40,4 +40,4 @@ /*! | ||
} | ||
export declare type DeleteResponse = google.protobuf.Empty; | ||
export declare type LogSink = google.logging.v2.ILogSink; | ||
export type DeleteResponse = google.protobuf.Empty; | ||
export type LogSink = google.logging.v2.ILogSink; | ||
export interface AbortableDuplex extends Duplex { | ||
@@ -58,3 +58,3 @@ abort(): void; | ||
} | ||
export declare type GetEntriesResponse = [ | ||
export type GetEntriesResponse = [ | ||
Entry[], | ||
@@ -79,3 +79,3 @@ google.logging.v2.IListLogEntriesRequest, | ||
} | ||
export declare type GetLogsResponse = [ | ||
export type GetLogsResponse = [ | ||
Sink[], | ||
@@ -96,3 +96,3 @@ google.logging.v2.IListLogsRequest, | ||
} | ||
export declare type GetSinksResponse = [ | ||
export type GetSinksResponse = [ | ||
Sink[], | ||
@@ -105,3 +105,3 @@ google.logging.v2.IListSinksRequest, | ||
} | ||
export declare type Client = string; | ||
export type Client = string; | ||
export interface RequestConfig { | ||
@@ -108,0 +108,0 @@ client: Client; |
@@ -52,8 +52,8 @@ /*! | ||
} | ||
export declare type Metadata = any; | ||
export declare type ApiResponse = [Metadata]; | ||
export type Metadata = any; | ||
export type ApiResponse = [Metadata]; | ||
export interface ApiResponseCallback { | ||
(err: Error | null, apiResponse?: Metadata): void; | ||
} | ||
export declare type DeleteCallback = ApiResponseCallback; | ||
export type DeleteCallback = ApiResponseCallback; | ||
/** | ||
@@ -60,0 +60,0 @@ * A log is a named collection of entries, each entry representing a timestamped |
@@ -21,3 +21,3 @@ /*! | ||
} | ||
export declare type SinkMetadataResponse = [LogSink]; | ||
export type SinkMetadataResponse = [LogSink]; | ||
export interface SetSinkMetadata extends LogSink { | ||
@@ -24,0 +24,0 @@ gaxOptions?: CallOptions; |
@@ -18,3 +18,3 @@ /*! | ||
import * as http from 'http'; | ||
export declare type RawHttpRequest = http.IncomingMessage & CloudLoggingHttpRequest; | ||
export type RawHttpRequest = http.IncomingMessage & CloudLoggingHttpRequest; | ||
export interface CloudLoggingHttpRequest { | ||
@@ -21,0 +21,0 @@ requestMethod?: string; |
@@ -25,5 +25,5 @@ /*! | ||
*/ | ||
export declare const NODEJS_DEFAULT_LIBRARY_VERSION = "10.3.1"; | ||
export declare const NODEJS_DEFAULT_LIBRARY_VERSION = "10.3.2"; | ||
export declare const MAX_INSTRUMENTATION_COUNT = 3; | ||
export declare type InstrumentationInfo = { | ||
export type InstrumentationInfo = { | ||
name: string; | ||
@@ -30,0 +30,0 @@ version: string; |
@@ -37,3 +37,3 @@ "use strict"; | ||
*/ | ||
exports.NODEJS_DEFAULT_LIBRARY_VERSION = '10.3.1'; // {x-release-please-version} | ||
exports.NODEJS_DEFAULT_LIBRARY_VERSION = '10.3.2'; // {x-release-please-version} | ||
exports.MAX_INSTRUMENTATION_COUNT = 3; | ||
@@ -40,0 +40,0 @@ /** |
@@ -27,3 +27,3 @@ /*! | ||
} | ||
export declare type MonitoredResource = google.api.IMonitoredResource; | ||
export type MonitoredResource = google.api.IMonitoredResource; | ||
export declare enum Severity { | ||
@@ -39,4 +39,4 @@ emergency = 0, | ||
} | ||
export declare type SeverityNames = keyof typeof Severity; | ||
export declare type LogSeverityFunctions = { | ||
export type SeverityNames = keyof typeof Severity; | ||
export type LogSeverityFunctions = { | ||
[P in SeverityNames]: Function; | ||
@@ -43,0 +43,0 @@ }; |
{ | ||
"name": "@google-cloud/logging", | ||
"version": "10.3.1", | ||
"version": "10.3.2", | ||
"description": "Cloud Logging Client Library for Node.js", | ||
@@ -75,3 +75,3 @@ "keywords": [ | ||
"@types/sinon": "^10.0.0", | ||
"@types/uuid": "^8.0.0", | ||
"@types/uuid": "^9.0.0", | ||
"bignumber.js": "^9.0.0", | ||
@@ -91,3 +91,3 @@ "c8": "^7.1.0", | ||
"proxyquire": "^2.1.3", | ||
"sinon": "^14.0.0", | ||
"sinon": "^15.0.0", | ||
"ts-loader": "^9.0.0", | ||
@@ -97,3 +97,3 @@ "typescript": "^4.6.4", | ||
"webpack": "^5.0.0", | ||
"webpack-cli": "^4.0.0" | ||
"webpack-cli": "^5.0.0" | ||
}, | ||
@@ -100,0 +100,0 @@ "engines": { |
Sorry, the diff of this file is too big to display
4215332