@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/5029") @ThreadSafe public abstract class ChannelLogger extends Object
LoadBalancer implementations.
Information logged here goes to Channelz, and to the Java logger of this class
as well.| Modifier and Type | Class and Description |
|---|---|
static class |
ChannelLogger.ChannelLogLevel
Log levels.
|
| Constructor and Description |
|---|
ChannelLogger() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
log(ChannelLogger.ChannelLogLevel level,
String message)
Logs a message.
|
abstract void |
log(ChannelLogger.ChannelLogLevel level,
String messageFormat,
Object... args)
Logs a message, using a message format and a list of arguments used to generate the log
message with
MessageFormat. |
public abstract void log(ChannelLogger.ChannelLogLevel level, String message)
public abstract void log(ChannelLogger.ChannelLogLevel level, String messageFormat, Object... args)
MessageFormat.