netty5/codec-http2/src/main/java/io/netty/handler/codec
nmittler 44615f6cb2 Optimizations for Http2FrameLogger
Motivation:

The logger was always performing a hex dump of the ByteBufs regarless whether or not the log would take place.

Modifications:

Fixed the logger to avoid serializing the ByteBufs and calling the varargs method if logging is not enabled.

Result:

The loggers should run MUCH faster when disabled.
2015-03-12 14:20:05 -07:00
..
http2 Optimizations for Http2FrameLogger 2015-03-12 14:20:05 -07:00