question: private void appendUploadedEntryToLog ( String id ) throws IOException { FileWriter writer = new FileWriter ( mLogfile , true ) ; StringBuilder sb = new StringBuilder ( ) ; sb . append ( System . currentTimeMillis ( ) / 1000 ) ; sb . append ( "," ) ; sb . append ( id ) ; sb . append ( '\n' ) ; try { writer . write ( sb . toString ( ) ) ; } finally { writer . close ( ) ; } }
target:  Records the upload entry to a log file similar to what is done in chrome/app/breakpad_linux.cc