Beispiel #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;
     }
 }
Beispiel #2
0
 public ByteString getByteStringForLog()
 {
     return currentLog.getLogAsByteString();
 }
Beispiel #3
0
 public void clearLog()
 {
     currentLog.deleteLogFile();
 }
Beispiel #4
0
 public void writeToLog(long l, String s)
 {
     currentLog.writeToLog(l, s);
 }