mirror of https://github.com/grpc/grpc-node.git
Merge pull request #2470 from murgatroid99/grpc-js_transport_trace_fix
grpc-js: Implement trace function in Http2SubchannelConnector
This commit is contained in:
commit
09d74ca43d
|
@ -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",
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue