diff options
author | asynts <asynts@gmail.com> | 2020-10-08 13:26:16 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-09 20:52:17 +0200 |
commit | 7ae530fbc78d7593bd959f1869f5b65aed4c76c7 (patch) | |
tree | 91fe88681591ee56c9b36b8d0495053c7c5406f2 /Ports/editline | |
parent | f3b4fbf01fdeef77cb732eb01e8f0944db9984b3 (diff) | |
download | serenity-7ae530fbc78d7593bd959f1869f5b65aed4c76c7.zip |
AK+Format: Remove new_dbg(dbg) and raw_dbg.
We are adding the process name as prefix and a newline as suffix to any
message written to debug. Thus, the following doesn't make any sense:
for (u8 byte : bytes)
dbg("{:02x} ", byte);
dbgln();
Which function call would put the prefix? This doesn't make any sense,
thus these functions must go.
The example above could be converted to:
StringBuilder builder;
for (u8 byte : bytes)
builder.appendff("{:02x} ", byte);
dbgln("{}", builder.build());
Diffstat (limited to 'Ports/editline')
0 files changed, 0 insertions, 0 deletions