tahamajs/OS / Files /past_terms /Operating-System-Course-Projects /2.Map-Reduce-Genre-Counter /src /log.hpp
| class Log { | |
| public: | |
| Log(const std::string& logger, bool has_label, bool has_time_header); | |
| void info(const std::string& info); | |
| void error(const std::string& error); | |
| void warning(const std::string& warning); | |
| private: | |
| std::ostream& info_stream_ = std::cout; | |
| std::ostream& error_stream_ = std::cerr; | |
| std::ostream& warning_stream_ = std::cout; | |
| std::string logger_; | |
| bool has_label_ = false; | |
| bool has_time_header_ = false; | |
| void add_time_header(std::ostream& stream); | |
| }; | |
Xet Storage Details
- Size:
- 597 Bytes
- Xet hash:
- 8e4f7f2bacbff4b93751b0d6a3b027a79a0aead1d4e23d4ff6eab63e31256c64
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.