base/base/src/main/com/thesett/util/log4j/LoggingDiagnostic.java
private static StringBuffer listHandlers(Handler[] handlers, StringBuffer buffer)
    {
        for (Handler handler : handlers)
        {
            Class<? extends Handler> handlerClass = handler.getClass();
            Formatter formatter = handler.getFormatter();

            buffer.append("Handler:").append(handlerClass.getName()).append("\n");
            buffer.append("Level:").append(handler.getLevel().toString()).append("\n");

            if (formatter != null)
            {
                buffer.append("Formatter:").append(formatter.getClass().getName()).append("\n");
            }
        }

        return buffer;
    }
private static StringBuffer listHandlers(Handler[] handlers, StringBuffer buffer)
    {
        for (Handler handler : handlers)
        {
            Class<? extends Handler> handlerClass = handler.getClass();
            Formatter formatter = handler.getFormatter();

            buffer.append("Handler:").append(handlerClass.getName()).append("\n");
            buffer.append("Level:").append(handler.getLevel().toString()).append("\n");

            if (formatter != null)
            {
                buffer.append("Formatter:").append(formatter.getClass().getName()).append("\n");
            }
        }

        return buffer;
    }
private static StringBuffer listHandlers ( Handler [ ] handlers , StringBuffer buffer ) { for ( Handler handler : handlers ) { Class < ? extends Handler > handlerClass = handler . getClass ( ) ; Formatter formatter = handler . getFormatter ( ) ; buffer . append ( "Handler:" ) . append ( handlerClass . getName ( ) ) . append ( "\n" ) ; buffer . append ( "Level:" ) . append ( handler . getLevel ( ) . toString ( ) ) . append ( "\n" ) ; if ( formatter != null ) { buffer . append ( "Formatter:" ) . append ( formatter . getClass ( ) . getName ( ) ) . append ( "\n" ) ; } } return buffer ; }
Lists information about logging handlers.

@param  handlers The handlers.
@param  buffer   A string buffer to build up the listing in.

@return The string buffer to build up the listing in.
Lists information about logging handlers .