MCPcopy Create free account
hub / github.com/grpc/grpc-java / withLogId

Method withLogId

xds/src/main/java/io/grpc/xds/client/XdsLogger.java:37–40  ·  view source on GitHub ↗
(InternalLogId logId)

Source from the content-addressed store, hash-verified

35 private final String prefix;
36
37 public static XdsLogger withLogId(InternalLogId logId) {
38 Preconditions.checkNotNull(logId, "logId");
39 return new XdsLogger(logId.toString());
40 }
41
42 static XdsLogger withPrefix(String prefix) {
43 return new XdsLogger(prefix);

Callers 13

XdsNameResolverMethod · 0.95
RingHashLoadBalancerMethod · 0.95
CdsLoadBalancer2Method · 0.95
PriorityLoadBalancerMethod · 0.95
XdsClientImplMethod · 0.95
ControlPlaneClientMethod · 0.95
LoadReportClientMethod · 0.95

Calls 2

checkNotNullMethod · 0.80
toStringMethod · 0.45

Tested by

no test coverage detected