void function ( SessionId arg0 ) { File loc0 ; loc0 = File . createTempFile ( arg0 . toString ( ) , "srini_string" ) ; loc0 . deleteOnExit ( ) ; LogFile loc1 = new LogFile ( loc0 . getAbsolutePath ( ) ) ; sessionToLogFileMap . put ( arg0 , loc1 ) ; }
this creates log file object which represents logs in file form . this opens objectoutputstream which is used to write logrecords to log file and opens a objectinputstream which is used to read logrecords from the file . concode_field_sep String logName concode_elem_sep Map<SessionId,LogFile> sessionToLogFileMap concode_elem_sep ObjectOutputStream logWriter concode_elem_sep ObjectInputStream logReader concode_field_sep void flushRecordsToLogFile concode_elem_sep void closeLogWriter concode_elem_sep List<LogRecord> getLogRecords concode_elem_sep void removeLogFile concode_elem_sep void removeLogFile concode_elem_sep void closeLogReader concode_elem_sep void openLogWriter concode_elem_sep ObjectInputStream getLogReader concode_elem_sep void openLogReader concode_elem_sep ObjectOutputStream getLogWriter