platform: cleaner startup logs
This commit is contained in:
parent
924673ada3
commit
0826970374
@ -110,14 +110,18 @@ Platform::bootSplash()
|
|||||||
Log.error(u8"Last Figment was %s", lastTaskBuf);
|
Log.error(u8"Last Figment was %s", lastTaskBuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.trace("Startup reason: %d", bootopts.resetReason);
|
|
||||||
|
|
||||||
Log.trace("Registered tasks:");
|
Log.trace("Registered tasks:");
|
||||||
auto it = beginTasks();
|
auto it = beginTasks();
|
||||||
|
while (it != endTasks()) {
|
||||||
|
if (!(*it)->isFigment()) {
|
||||||
|
Log.trace(" %s", (*it)->name);
|
||||||
|
}
|
||||||
|
++it;
|
||||||
|
}
|
||||||
|
Log.trace("Registered Figments:");
|
||||||
|
it = beginTasks();
|
||||||
while (it != endTasks()) {
|
while (it != endTasks()) {
|
||||||
if ((*it)->isFigment()) {
|
if ((*it)->isFigment()) {
|
||||||
Log.trace(" Figment: %s", (*it)->name);
|
|
||||||
} else {
|
|
||||||
Log.trace(" %s", (*it)->name);
|
Log.trace(" %s", (*it)->name);
|
||||||
}
|
}
|
||||||
++it;
|
++it;
|
||||||
|
Loading…
Reference in New Issue
Block a user