mark force-finished log items when app closes

This commit is contained in:
Bruno Windels 2021-02-23 15:36:36 +01:00
parent 17451b7bd6
commit a8df30016b
2 changed files with 2 additions and 0 deletions

View File

@ -115,6 +115,7 @@ export class BaseLogger {
// about the duration of the item, etc ...
const serialized = openItem.serialize(new LogFilter(), 0);
if (serialized) {
serialized.f = true; //(f)orced
this._persistItem(serialized);
}
} catch (err) {

View File

@ -139,6 +139,7 @@ export class LogItem {
// (c)hildren
item.c = children;
}
// (f)orced can also be set on an item by the logger
return item;
}