Skip to content

Commit

Permalink
grpc-js: Implement trace function in Http2SubchannelConnector
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Jun 20, 2023
1 parent 25e2845 commit 87b5466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/grpc-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@grpc/grpc-js",
"version": "1.8.15",
"version": "1.8.16",
"description": "gRPC Library for Node - pure JS implementation",
"homepage": "https://grpc.io/",
"repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-js/src/transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ export class Http2SubchannelConnector implements SubchannelConnector {
private isShutdown = false;
constructor(private channelTarget: GrpcUri) {}
private trace(text: string) {

logging.trace(LogVerbosity.DEBUG, TRACER_NAME, this.channelTarget + ' ' + text);
}
private createSession(address: SubchannelAddress, credentials: ChannelCredentials, options: ChannelOptions, proxyConnectionResult: ProxyConnectionResult): Promise<Http2Transport> {
if (this.isShutdown) {
Expand Down

0 comments on commit 87b5466

Please sign in to comment.