打印值整改

Signed-off-by: lishengming14 <lishengming14@huawei.com>
This commit is contained in:
lishengming14 2024-08-02 01:16:21 +00:00 committed by Gitee
parent 6e671ebb54
commit 736ace9551
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -928,7 +928,8 @@ int BinderInvoker::TransactWithDriver(bool doRead)
// we still have some bytes not been handled.
PrintParcelData(input, "input_");
PrintParcelData(output_, "output_");
ZLOGE(LABEL, "still have some bytes not been handled result:%{public}d", error);
ZLOGE(LABEL, "still have some bytes not been handled result:%{public}d, write_consumed:%{public}zu",
error, static_cast<size_t>(bwr.write_consumed));
} else {
output_.FlushBuffer();
}