mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 06:38:22 +00:00
LibCore: Replace fprintf(stderr)/printf() with warnln()/out()
This commit is contained in:
parent
1b81b63663
commit
303358220b
Notes:
sideshowbarker
2024-07-18 17:07:00 +09:00
Author: https://github.com/linusg
Commit: 303358220b
Pull-request: https://github.com/SerenityOS/serenity/pull/7630
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