protected void outputLogSummary ( int logId , ReadOnlyLogMetadata m ) { if ( m == null ) { output ( "Log %d: No metadata." , logId ) ; } else { output ( "Log %d: Epoch=%d, Version=%d, Enabled=%s, Ledgers=%d, Truncation={%s}" , logId , m . getEpoch ( ) , m . getUpdateVersion ( ) , m . isEnabled ( ) , m . getLedgers ( ) . size ( ) , m . getTruncationAddress ( ) ) ; } }
Outputs a summary for the given Log .