Minor refactoring

This commit is contained in:
Pablo Rodriguez
2025-07-29 17:17:28 -04:00
parent 472d35497d
commit aebd69a027
10 changed files with 69 additions and 57 deletions

View File

@@ -12,12 +12,12 @@ namespace ugly {
class TimestampLog: virtual public ILogFacility {
private:
std::chrono::high_resolution_clock::time_point mStartTime;
std::ostream &mrOutputStream;
std::string mDescription;
std::chrono::high_resolution_clock::time_point mStart;
public:
TimestampLog(std::ostream &os, std::string_view description);
TimestampLog(std::string_view description, std::ostream &os);
void vlog(std::string_view fmt, std::format_args args) override;
};