Package io.grpc.netty
Class NettyServerHandler.ServerChannelLogger
- java.lang.Object
-
- io.grpc.ChannelLogger
-
- io.grpc.netty.NettyServerHandler.ServerChannelLogger
-
- Enclosing class:
- NettyServerHandler
private static class NettyServerHandler.ServerChannelLogger extends ChannelLogger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.grpc.ChannelLogger
ChannelLogger.ChannelLogLevel
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Loggerlog
-
Constructor Summary
Constructors Modifier Constructor Description privateServerChannelLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlog(ChannelLogger.ChannelLogLevel level, java.lang.String message)Logs a message.voidlog(ChannelLogger.ChannelLogLevel level, java.lang.String messageFormat, java.lang.Object... args)Logs a message, using a message format and a list of arguments used to generate the log message withMessageFormat.
-
-
-
Method Detail
-
log
public void log(ChannelLogger.ChannelLogLevel level, java.lang.String message)
Description copied from class:ChannelLoggerLogs a message.- Specified by:
login classChannelLogger
-
log
public void log(ChannelLogger.ChannelLogLevel level, java.lang.String messageFormat, java.lang.Object... args)
Description copied from class:ChannelLoggerLogs a message, using a message format and a list of arguments used to generate the log message withMessageFormat.- Specified by:
login classChannelLogger
-
-