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