@ SuppressWarnings ( "static-method" ) protected String buildMessage ( double progress , String comment , boolean isRoot , boolean isFinished , NumberFormat numberFormat ) { final StringBuilder txt = new StringBuilder ( ) ; txt . append ( ' ' ) ; txt . append ( numberFormat . format ( progress ) ) ; txt . append ( "] " ) ; //$NON-NLS-1$ if ( comment != null ) { txt . append ( comment ) ; } return txt . toString ( ) ; }
Build the logging message from the given data . This function is defined for enabling overriding in sub classes .