Throw on export() in ConsoleLogger

This commit is contained in:
RMidhunSuresh 2021-11-09 13:53:07 +05:30
parent 377cc4ca1f
commit 839d3fb689

View file

@ -19,6 +19,10 @@ export class ConsoleLogger extends BaseLogger {
_persistItem(item) {
printToConsole(item);
}
export() {
throw new Error("Cannot export from ConsoleLogger");
}
}
const excludedKeysFromTable = ["l", "id"];