Esempio n. 1
0
 public final void setCurrentSession(String s)
 {
     currentLog.closeLogFile();
     currentLog = NOOP_LOG_STORE;
     if (s == null)
     {
         return;
     }
     if (!isLoggingEnabled())
     {
         zw.h().a("CrashlyticsCore", "Preferences requested no custom logs. Aborting log file creation.");
         return;
     } else
     {
         setLogFile(getWorkingFileForSession(s), 0x10000);
         return;
     }
 }
Esempio n. 2
0
 public ByteString getByteStringForLog()
 {
     return currentLog.getLogAsByteString();
 }
Esempio n. 3
0
 public void clearLog()
 {
     currentLog.deleteLogFile();
 }
Esempio n. 4
0
 public void writeToLog(long l, String s)
 {
     currentLog.writeToLog(l, s);
 }