private void appendLine ( final String timeStampStr , final int indentLevel , final String line , final StringBuilder buf ) { buf . append ( timeStampStr ) ; buf . append ( ' ' ) ; buf . append ( ClassGraph . class . getSimpleName ( ) ) ; buf . append ( ' ' ) ; final int numDashes = 2 * ( indentLevel - 1 ) ; for ( int i = 0 ; i < numDashes ; i ++ ) { buf . append ( ' ' ) ; } if ( numDashes > 0 ) { buf . append ( ' ' ) ; } buf . append ( line ) ; buf . append ( ' ' ) ; }
Append a line to the log output indenting this log entry according to tree structure .