List of usage examples for io.netty.handler.codec.dns DnsRecordType name
String name
To view the source code for io.netty.handler.codec.dns DnsRecordType name.
Click Source Link
From source file:com.linecorp.armeria.client.endpoint.dns.DnsEndpointGroup.java
License:Apache License
/** * Logs a warning message about an invalid record. *///from ww w . j a v a2 s.c o m final void warnInvalidRecord(DnsRecordType type, ByteBuf content) { if (logger().isWarnEnabled()) { final String dump = ByteBufUtil.hexDump(content); logger().warn("{} Skipping invalid {} record: {}", logPrefix(), type.name(), dump.isEmpty() ? "<empty>" : dump); } }