Skip to content
Snippets Groups Projects
Commit d9d10d1a authored by Niccolò Betto's avatar Niccolò Betto Committed by Davide Mor
Browse files

[Payload] Log logger stats in the main thread

parent c43fe8f6
Branches
Tags
1 merge request!81[Payload] Payload OBSW
......@@ -246,9 +246,12 @@ int main()
}
std::cout.flush();
auto& sdLogger = Logger::getInstance();
// Collect stack usage statistics
while (true)
{
sdLogger.log(sdLogger.getStats());
StackLogger::getInstance().log();
Thread::sleep(1000);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment