do emergency serialization without log filter
This commit is contained in:
parent
c3637def2e
commit
b28eefb2db
1 changed files with 4 additions and 1 deletions
|
@ -74,7 +74,10 @@ export class BaseLogger {
|
||||||
for (const openItem of this._openItems) {
|
for (const openItem of this._openItems) {
|
||||||
openItem.finish();
|
openItem.finish();
|
||||||
try {
|
try {
|
||||||
const serialized = openItem.serialize(this._baseLogLevel);
|
// for now, serialize with an all-permitting filter
|
||||||
|
// as the createFilter function would get a distorted image anyway
|
||||||
|
// about the duration of the item, etc ...
|
||||||
|
const serialized = openItem.serialize(new LogFilter(), 0);
|
||||||
if (serialized) {
|
if (serialized) {
|
||||||
this._persistItem(serialized);
|
this._persistItem(serialized);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue