Searched refs:log_file_ (Results 1 – 2 of 2) sorted by relevance
125 : log_file_(NULL), needs_recompaction_(false) {} in BuildLog()138 assert(!log_file_); in OpenForWrite()167 if (log_file_) { in RecordCommand()168 if (!WriteEntry(log_file_, *log_entry)) in RecordCommand()170 if (fflush(log_file_) != 0) { in RecordCommand()180 if (log_file_) in Close()181 fclose(log_file_); in Close()182 log_file_ = NULL; in Close()186 if (log_file_ || log_file_path_.empty()) { in OpenForWriteIfNeeded()189 log_file_ = fopen(log_file_path_.c_str(), "ab"); in OpenForWriteIfNeeded()[all …]
102 FILE* log_file_; member