- public void encode(ChannelHandlerContext ctx, NetconfMessage msg, ByteBuf out) throws IOException, TransformerException {
- if (LOG.isTraceEnabled()) {
- LOG.trace("Sent to encode : {}", XmlUtil.toString(msg.getDocument()));
- }
+ public void encode(final ChannelHandlerContext ctx, final NetconfMessage msg, final ByteBuf out) throws IOException, TransformerException {
+ LOG.trace("Sent to encode : {}", msg);