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
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0

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;