mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-11-15 15:43:30 +00:00
All logs to LOGS directory (#973)
* Added #define LOG_ROOT_DIR * using LOG_ROOT_DIR as root path of log
This commit is contained in:
@@ -397,9 +397,10 @@ AISAppView::AISAppView(NavigationView& nav) : nav_ { nav } {
|
||||
this->on_show_list();
|
||||
};
|
||||
|
||||
make_new_directory(LOG_ROOT_DIR);
|
||||
logger = std::make_unique<AISLogger>();
|
||||
if( logger ) {
|
||||
logger->append(u"ais.txt");
|
||||
logger->append( LOG_ROOT_DIR "/AIS.TXT" );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user