mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
AK: Use process name on Windows for dbgln()
This commit is contained in:
parent
5e090b359c
commit
90bb8ed33e
Notes:
github-actions[bot]
2024-10-11 03:49:38 +00:00
Author: https://github.com/pheonixfirewingz Commit: https://github.com/LadybirdBrowser/ladybird/commit/90bb8ed33e3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1695 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/nico Reviewed-by: https://github.com/vitalyster
1 changed files with 5 additions and 0 deletions
|
@ -1204,6 +1204,11 @@ void vdbg(StringView fmtstr, TypeErasedFormatParams& params, bool newline)
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
auto process_name = process_name_for_logging();
|
||||||
|
if (!process_name.is_empty()) {
|
||||||
|
builder.appendff("{}: ", process_name);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue