Home
last modified time | relevance | path

Searched refs:getLogLevel (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerTransportTest.java19 import static io.grpc.netty.NettyServerTransport.getLogLevel;
33 assertEquals(Level.INFO, getLogLevel(new Exception())); in unknownException()
38 assertEquals(Level.FINE, getLogLevel(new IOException("Connection reset by peer"))); in quiet()
39 assertEquals(Level.FINE, getLogLevel(new IOException( in quiet()
45 assertEquals(Level.INFO, getLogLevel(new IOException("foo"))); in nonquiet()
52 assertEquals(Level.INFO, getLogLevel(e)); in nullMessage()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerTransport.java181 static Level getLogLevel(Throwable t) { in getLogLevel() method in NettyServerTransport
194 connectionLog.log(getLogLevel(t), "Transport failed", t); in notifyTerminated()