mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
AK: Use process name on Windows for dbgln()
This commit is contained in:
parent
5e090b359c
commit
90bb8ed33e
|
|
@ -1204,6 +1204,11 @@ void vdbg(StringView fmtstr, TypeErasedFormatParams& params, bool newline)
|
|||
}
|
||||
# endif
|
||||
}
|
||||
#else
|
||||
auto process_name = process_name_for_logging();
|
||||
if (!process_name.is_empty()) {
|
||||
builder.appendff("{}: ", process_name);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user