ByteBufFormat
constructor for LoggingHandler (#11420)
__Motivation__ `LoggingHandler` misses a constructor variant that only takes `ByteBufFormat` __Modification__ Added the missing constructor variant. __Result__ `LoggingHandler` can be constructed with `ByteBufFormat` only. Co-authored-by: Nitesh Kant <nitesh_kant@apple.com>
This commit is contained in:
parent
765f8989ca
commit
57765a7e57
@ -55,6 +55,15 @@ public class LoggingHandler implements ChannelHandler {
|
||||
public LoggingHandler() {
|
||||
this(DEFAULT_LEVEL);
|
||||
}
|
||||
/**
|
||||
* Creates a new instance whose logger name is the fully qualified class
|
||||
* name of the instance.
|
||||
*
|
||||
* @param format Format of ByteBuf dumping
|
||||
*/
|
||||
public LoggingHandler(ByteBufFormat format) {
|
||||
this(DEFAULT_LEVEL, format);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new instance whose logger name is the fully qualified class
|
||||
|
Loading…
Reference in New Issue
Block a user