/** * Record a trace log for the result of {@link #match(FlowMatchContext)}. * * @param ctx A {@link FlowMatchContext} instance. * @param msg A message to be logged. * @param vfmatch A {@link VTNFlowMatch} instance that matched the packet. */ private void traceMatch(FlowMatchContext ctx, String msg, VTNFlowMatch vfmatch) { if (LOG.isTraceEnabled()) { LOG.trace( "{}: {}: match=[{}], packet=[{}]", name, msg, vfmatch.getConditionKey(), ctx.getHeaderDescription()); } }
/** * Record a trace log for the result of {@link #match(FlowMatchContext)}. * * @param ctx A {@link FlowMatchContext} instance. * @param msg A message to be logged. */ private void traceMatch(FlowMatchContext ctx, String msg) { if (LOG.isTraceEnabled()) { LOG.trace("{}: {}: packet=[{}]", name, msg, ctx.getHeaderDescription()); } }