Allow logging FS access with stacks

This commit is contained in:
Alexandru Dima
2021-01-11 15:32:24 +01:00
parent 8ec95fa3b7
commit 533d094020

View File

@@ -11,9 +11,9 @@
let logging = false;
let withStacks = false;
self.beginLoggingFS = (withStacks) => {
self.beginLoggingFS = (_withStacks) => {
logging = true;
withStacks = withStacks || false;
withStacks = _withStacks || false;
};
self.endLoggingFS = () => {
logging = false;