ladybird/Kernel/Bus
MacDue 9a120d7243 AK: Add support for "debug only" formatters
These are formatters that can only be used with debug print
functions, such as dbgln(). Currently this is limited to
Formatter<ErrorOr<T>>. With this you can still debug log ErrorOr
values (good for debugging), but trying to use them in any
String::formatted() call will fail (which prevents .to_string()
errors with the new failable strings being ignored).

You make a formatter debug only by adding a constexpr method like:
static constexpr bool is_debug_only() { return true; }
2023-01-13 21:09:26 +00:00
..
PCI AK: Add support for "debug only" formatters 2023-01-13 21:09:26 +00:00
USB Kernel: Add dmesgln_pci logging for Kernel::PCI 2023-01-05 01:44:19 +01:00
VirtIO Kernel: Add dmesgln_pci logging for Kernel::PCI 2023-01-05 01:44:19 +01:00