ByteBufs and ByteBufHolders.
Adds AdvancedByteBufFormat#TEXTUAL format to io.netty.handler.logging.ByteBufFormat.
| Modifier and Type | Field and Description |
|---|---|
| public static final AdvancedByteBufFormat | HEX_DUMP
When wire logging is enabled with this format, both events and content will be logged. |
| public static final AdvancedByteBufFormat | SIMPLE
When wire logging is enabled with this format, only the events will be logged. |
| public static final AdvancedByteBufFormat | TEXTUAL
When wire logging is enabled with this format, both events and content will be logged. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public LoggingHandler | Returns: a newLoggingHandler referencethe logger category category, LogLevel the logger level level, Charset the charset (only relevant for charset)AdvancedByteBufFormat#TEXTUAL)Creates the matching LoggingHandler regarding the format. |
| public static AdvancedByteBufFormat | |
| public static AdvancedByteBufFormat[] |
| HEX_DUMP | back to summary |
|---|---|
| public static final AdvancedByteBufFormat HEX_DUMP When wire logging is enabled with this format, both events and content will be logged. The content will be in hex format. Examples:
| |
| SIMPLE | back to summary |
|---|---|
| public static final AdvancedByteBufFormat SIMPLE When wire logging is enabled with this format, only the events will be logged. Examples:
| |
| TEXTUAL | back to summary |
|---|---|
| public static final AdvancedByteBufFormat TEXTUAL When wire logging is enabled with this format, both events and content will be logged. The content will be in plain text format. Examples:
| |
| AdvancedByteBufFormat | back to summary |
|---|---|
| private AdvancedByteBufFormat() | |
| toLoggingHandler | back to summary |
|---|---|
| public LoggingHandler toLoggingHandler(String category, LogLevel level, Charset charset) Creates the matching LoggingHandler regarding the format.
| |
| valueOf | back to summary |
|---|---|
| public static AdvancedByteBufFormat valueOf(String name) | |
| values | back to summary |
|---|---|
| public static AdvancedByteBufFormat[] values() | |