mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-07 22:22:21 -04: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:
parent
1edd3716a1
commit
69927e3c2d
10 changed files with 24 additions and 11 deletions
|
@ -130,9 +130,10 @@ ERTAppView::ERTAppView(NavigationView&) {
|
|||
static_cast<int8_t>(receiver_model.vga()),
|
||||
}); */
|
||||
|
||||
make_new_directory(LOG_ROOT_DIR);
|
||||
logger = std::make_unique<ERTLogger>();
|
||||
if( logger ) {
|
||||
logger->append(u"ert.txt");
|
||||
logger->append( LOG_ROOT_DIR "/ERT.TXT" );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue