Searched refs:getLogLevel (Results 1 – 2 of 2) sorted by relevance
19 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()
181 static Level getLogLevel(Throwable t) { in getLogLevel() method in NettyServerTransport194 connectionLog.log(getLogLevel(t), "Transport failed", t); in notifyTerminated()