public static void displayChains(TraceComponent logger, ChainData[] chains,
                                     String message, String prefix) {
        if (!logger.isDebugEnabled()) {
            return;
        }
        if (chains == null || chains.length == 0) {
            chTrace.debugTrace(logger, prefix + ", no chains to trace (" + message + ")");
        } else {
            chTrace.traceChains(logger, Arrays.asList(chains), message, prefix);
        }
    }
public static void displayChains ( TraceComponent logger , ChainData [ ] chains , String message , String prefix ) { if ( ! logger . isDebugEnabled ( ) ) { return ; } if ( chains == null || chains . length == 0 ) { chTrace . debugTrace ( logger , prefix + ", no chains to trace (" + message + ")" ) ; } else { chTrace . traceChains ( logger , Arrays . asList ( chains ) , message , prefix ) ; } }
Display configured channel chains (convert array of chains to list).

@param logger
@param chains
Array of chains to trace
@param message
@param prefix