| 447 | } |
| 448 | |
| 449 | LogReader::LogReader(LogParts* logs, const std::string& log_path, bool compressed) |
| 450 | : log_path_(log_path) { |
| 451 | sf_ = NULL; |
| 452 | reader_ = NULL; |
| 453 | logs_ = logs; |
| 454 | log_part_index_ = -1; |
| 455 | start_offset_ = 0; |
| 456 | compressed_ = compressed; |
| 457 | } |
| 458 | |
| 459 | LogReader::~LogReader() { |
| 460 | delete sf_; |
nothing calls this directly
no outgoing calls
no test coverage detected