public String format ( String clientID , String name , long time , Level level , Object message , Throwable t ) { if ( ! patternParsed && pattern != null ) { parsePattern ( pattern ) ; } StringBuffer formattedStringBuffer = new StringBuffer ( 64 ) ; if ( commandArray != null ) { int length = commandArray . length ; for ( int index = 0 ; index < length ; index ++ ) { FormatCommandInterface currentConverter = commandArray [ index ] ; if ( currentConverter != null ) { formattedStringBuffer . append ( currentConverter . execute ( clientID , name , time , level , message , t ) ) ; } } } return formattedStringBuffer . toString ( ) ; }
Format the input parameters .