add some logs

This commit is contained in:
vms
2021-04-22 20:31:14 +03:00
parent 8de882c159
commit d7d91a263e
6 changed files with 11 additions and 0 deletions

View File

@ -15,3 +15,4 @@ fluence-it-types = { path = "../it-types/", version = "0.2.0" }
paste = "1.0.5"
thiserror = "1.0.24"
log = "0.4.14"

View File

@ -122,6 +122,7 @@ impl<'w, 'm> SequentialWriter<'w, 'm> {
// specialization of write_array for u8
pub fn write_u8(&self, value: u8) {
let offset = self.offset.get();
log::trace!("write_u8: write {} to {}", value, offset);
self.writer.memory[offset].set(value);