Class ChannelErrorLogger

All Implemented Interfaces:
Logger

public class ChannelErrorLogger extends ChannelActivityLogger
Dedicated logger for channel error logging.

It keeps messages shorter in debug mode and provides more details in trace mode.

  • Constructor Details

    • ChannelErrorLogger

      public ChannelErrorLogger(io.netty.channel.Channel channel, Logging logging)
  • Method Details

    • traceOrDebug

      public void traceOrDebug(String message, Throwable error)