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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 132 additions and 62 deletions

View file

@ -141,10 +141,9 @@ APRSRxView::APRSRxView(NavigationView& nav, Rect parent_rect) : View(parent_rect
options_region.set_selected_index(0, true);
make_new_directory(LOG_ROOT_DIR);
logger = std::make_unique<APRSLogger>();
if (logger)
logger->append( LOG_ROOT_DIR "/APRS.TXT" );
logger->append(LOG_ROOT_DIR "/APRS.TXT");
baseband::set_aprs(1200);