mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Get rid of std::cerr logs in collator/validator
This commit is contained in:
parent
3c245c6146
commit
ce6c29941e
14 changed files with 310 additions and 200 deletions
|
@ -1026,6 +1026,13 @@ bool CellSlice::print_rec(std::ostream& os, int indent) const {
|
|||
return print_rec(os, &limit, indent);
|
||||
}
|
||||
|
||||
bool CellSlice::print_rec(td::StringBuilder& sb, int indent) const {
|
||||
std::ostringstream ss;
|
||||
auto result = print_rec(ss, indent);
|
||||
sb << ss.str();
|
||||
return result;
|
||||
}
|
||||
|
||||
bool CellSlice::print_rec(int limit, std::ostream& os, int indent) const {
|
||||
return print_rec(os, &limit, indent);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue