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.Logger
log
-
Constructor Summary
Constructors Modifier Constructor Description private
ServerChannelLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
log(ChannelLogger.ChannelLogLevel level, java.lang.String message)
Logs a message.void
log(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:ChannelLogger
Logs a message.- Specified by:
log
in classChannelLogger
-
log
public void log(ChannelLogger.ChannelLogLevel level, java.lang.String messageFormat, java.lang.Object... args)
Description copied from class:ChannelLogger
Logs a message, using a message format and a list of arguments used to generate the log message withMessageFormat
.- Specified by:
log
in classChannelLogger
-
-