public String traceLogFormat ( LogRecord logRecord , Object id , String formattedMsg , String formattedVerboseMsg ) { final String txt ; if ( formattedVerboseMsg == null ) { // If we don't already have a formatted message... (for Audit or Info or Warning.. ) // we have to build something instead (while avoiding a useless resource bundle lookup) txt = formatVerboseMessage ( logRecord , formattedMsg , false ) ; } else { txt = formattedVerboseMsg ; } return createFormattedString ( logRecord , id , txt ) ; }
Format a detailed record for trace . log . Previously formatted messages may be provided and may be reused if possible .