Skip to content

Commit 87b5466

Browse files
committed
grpc-js: Implement trace function in Http2SubchannelConnector
1 parent 25e2845 commit 87b5466

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/grpc-js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grpc/grpc-js",
3-
"version": "1.8.15",
3+
"version": "1.8.16",
44
"description": "gRPC Library for Node - pure JS implementation",
55
"homepage": "https://grpc.io/",
66
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",

packages/grpc-js/src/transport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
485485
private isShutdown = false;
486486
constructor(private channelTarget: GrpcUri) {}
487487
private trace(text: string) {
488-
488+
logging.trace(LogVerbosity.DEBUG, TRACER_NAME, this.channelTarget + ' ' + text);
489489
}
490490
private createSession(address: SubchannelAddress, credentials: ChannelCredentials, options: ChannelOptions, proxyConnectionResult: ProxyConnectionResult): Promise<Http2Transport> {
491491
if (this.isShutdown) {

0 commit comments

Comments
 (0)