mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
9a120d7243
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; } |
||
---|---|---|
.. | ||
Controller | ||
Access.cpp | ||
Access.h | ||
API.cpp | ||
API.h | ||
Definitions.h | ||
Device.cpp | ||
Device.h | ||
IDs.h | ||
Initializer.h |