mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-30 00:07:59 +00:00
Add debug statements for read and write operations
This commit is contained in:
parent
f7fde1a933
commit
0cc40bafe8
@ -31,6 +31,8 @@ namespace vfs
|
|||||||
if (this->SymlinkTo)
|
if (this->SymlinkTo)
|
||||||
return this->SymlinkTo->read(Buffer, Size);
|
return this->SymlinkTo->read(Buffer, Size);
|
||||||
|
|
||||||
|
debug("Reading %d bytes from %s[%d]",
|
||||||
|
Size, this->node->FullPath, this->FileOffset.load());
|
||||||
return this->node->read(Buffer, Size, this->FileOffset.load());
|
return this->node->read(Buffer, Size, this->FileOffset.load());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,6 +41,8 @@ namespace vfs
|
|||||||
if (this->SymlinkTo)
|
if (this->SymlinkTo)
|
||||||
return this->SymlinkTo->write(Buffer, Size);
|
return this->SymlinkTo->write(Buffer, Size);
|
||||||
|
|
||||||
|
debug("Writing %d bytes to %s[%d]",
|
||||||
|
Size, this->node->FullPath, this->FileOffset.load());
|
||||||
return this->node->write(Buffer, Size, this->FileOffset.load());
|
return this->node->write(Buffer, Size, this->FileOffset.load());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user