mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
LibCore: Replace fprintf(stderr)/printf() with warnln()/out()
This commit is contained in:
parent
1b81b63663
commit
303358220b
3 changed files with 8 additions and 9 deletions
|
@ -149,12 +149,12 @@ void Object::stop_timer()
|
|||
void Object::dump_tree(int indent)
|
||||
{
|
||||
for (int i = 0; i < indent; ++i) {
|
||||
printf(" ");
|
||||
out(" ");
|
||||
}
|
||||
printf("%s{%p}", class_name(), this);
|
||||
out("{}{{{:p}}}", class_name(), this);
|
||||
if (!name().is_null())
|
||||
printf(" %s", name().characters());
|
||||
printf("\n");
|
||||
out(" {}", name());
|
||||
outln();
|
||||
|
||||
for_each_child([&](auto& child) {
|
||||
child.dump_tree(indent + 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue