Skip to content

Commit

Permalink
Add a bit more verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
franzpoeschel committed Sep 4, 2024
1 parent bd7b378 commit e5e06e5
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/IO/AbstractIOHandlerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,26 @@ std::future<void> AbstractIOHandlerImpl::flush()
i.writable->parent,
"->",
i.writable,
"] WRITE_DATASET");
"] WRITE_DATASET: ",
[&]() {
std::stringstream stream;
stream << "offset: " << vec_as_string(parameter.offset)
<< " extent: " << vec_as_string(parameter.extent)
<< " mem-selection: ";
if (parameter.memorySelection.has_value())
{
stream << vec_as_string(
parameter.memorySelection->offset)
<< "--"
<< vec_as_string(
parameter.memorySelection->extent);
}
else
{
stream << "NONE";
}
return stream.str();
});
writeDataset(i.writable, parameter);
break;
}
Expand Down

0 comments on commit e5e06e5

Please sign in to comment.