Logging Updates (#978)

* log_file ensures directory exists
* Fix audio timestamp path
* Fix auto inc, add subfolder for recordings
* Fix auto inc and support subfolder
This commit is contained in:
Kyle Reed
2023-05-12 11:08:07 -07:00
committed by GitHub
parent 8b395239d2
commit a8cdde7bea
22 changed files with 132 additions and 62 deletions

View File

@@ -46,7 +46,8 @@ public:
RecordView(
const Rect parent_rect,
std::filesystem::path filename_stem_pattern,
const std::filesystem::path& filename_stem_pattern,
const std::filesystem::path& folder,
FileType file_type,
const size_t write_size,
const size_t buffer_count
@@ -83,6 +84,7 @@ private:
rtc::RTC datetime { };
const std::filesystem::path filename_stem_pattern;
const std::filesystem::path folder;
const FileType file_type;
const size_t write_size;
const size_t buffer_count;