mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-21 06:59:02 +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:
@@ -98,9 +98,10 @@ ACARSAppView::ACARSAppView(NavigationView& nav) {
|
||||
logging = v;
|
||||
};
|
||||
|
||||
make_new_directory(LOG_ROOT_DIR);
|
||||
logger = std::make_unique<ACARSLogger>();
|
||||
if (logger)
|
||||
logger->append("acars.txt");
|
||||
logger->append( LOG_ROOT_DIR "/ACARS.TXT" );
|
||||
}
|
||||
|
||||
ACARSAppView::~ACARSAppView() {
|
||||
|
||||
Reference in New Issue
Block a user