类 LoggerHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelDuplexHandler
-
- io.netty.handler.logging.LoggingHandler
-
- xin.alum.aio.handler.LoggerHandler
-
- 所有已实现的接口:
io.netty.channel.ChannelHandler,io.netty.channel.ChannelInboundHandler,io.netty.channel.ChannelOutboundHandler
public class LoggerHandler extends io.netty.handler.logging.LoggingHandler自定义日志输出
-
-
构造器概要
构造器 构造器 说明 LoggerHandler()LoggerHandler(io.netty.handler.logging.ByteBufFormat format)LoggerHandler(io.netty.handler.logging.LogLevel level)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidchannelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)voidwrite(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise)-
从类继承的方法 io.netty.handler.logging.LoggingHandler
bind, byteBufFormat, channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, exceptionCaught, flush, format, format, format, level, userEventTriggered
-
从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-