mirror of https://github.com/grpc/grpc-node.git
grpc-js: Add trace log with library version
This commit is contained in:
parent
e64adfa1f4
commit
6ae2ed4a14
|
@ -247,7 +247,10 @@ export { experimental };
|
|||
import * as resolver from './resolver';
|
||||
import * as load_balancer from './load-balancer';
|
||||
|
||||
const clientVersion = require('../../package.json').version;
|
||||
|
||||
(() => {
|
||||
logging.trace(LogVerbosity.DEBUG, 'index', 'Loading @grpc/grpc-js version ' + clientVersion);
|
||||
resolver.registerAll();
|
||||
load_balancer.registerAll();
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue