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 .