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
..
2023-01-10 19:32:31 +01:00
2023-01-06 11:09:56 +01:00
2023-01-13 21:09:26 +00:00
2023-01-13 15:42:33 +01:00
2023-01-09 19:26:01 -07:00
2022-12-28 11:53:41 +01:00
2023-01-07 11:51:13 -07:00
2023-01-02 20:27:20 -05:00
2022-12-28 11:53:41 +01:00
2022-12-29 19:32:20 -07:00
2023-01-02 18:15:27 -05:00
2023-01-02 20:27:20 -05:00
2023-01-13 15:44:04 +01:00
2022-12-28 11:53:41 +01:00
2023-01-07 11:45:08 -07:00
2023-01-13 13:41:30 +01:00
2022-12-28 11:53:41 +01:00
2023-01-07 11:45:08 -07:00
2022-10-16 17:35:37 +02:00
2023-01-08 21:51:59 +01:00
2023-01-06 11:09:56 +01:00
2023-01-06 11:09:56 +01:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00
2023-01-03 18:13:11 +01:00
2023-01-03 18:13:11 +01:00
2023-01-08 21:51:59 +01:00
2022-10-17 20:11:31 +02:00
2023-01-02 18:15:27 -05:00
2022-10-14 13:45:33 +02:00
2022-10-17 20:11:31 +02:00
2022-12-28 11:53:41 +01:00
2022-12-28 11:53:41 +01:00
2022-11-05 18:00:58 -06:00
2023-01-02 18:15:27 -05:00
2023-01-07 03:44:59 +03:30
2023-01-02 18:15:27 -05:00
2023-01-02 20:27:20 -05:00
2023-01-13 21:09:26 +00:00
2023-01-02 18:15:27 -05:00
2023-01-13 21:09:26 +00:00
2022-10-01 14:09:01 +02:00
2022-10-01 14:09:01 +02:00
2022-12-28 11:53:41 +01:00
2022-12-28 11:53:41 +01:00
2023-01-04 20:04:57 +01:00
2023-01-07 03:44:59 +03:30
2023-01-10 19:32:31 +01:00
2023-01-02 20:27:20 -05:00
2022-11-24 16:56:27 +01:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00
2022-11-08 02:54:48 -07:00
2022-11-08 02:54:48 -07:00
2022-12-28 11:53:41 +01:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00
2022-12-29 19:32:20 -07:00
2022-12-29 19:32:20 -07:00
2022-12-03 23:52:23 +00:00
2022-12-03 23:52:23 +00:00
2022-12-28 11:53:41 +01:00
2023-01-02 18:15:27 -05:00
2023-01-04 20:04:57 +01:00
2022-12-28 11:53:41 +01:00
2023-01-02 18:15:27 -05:00
2023-01-02 18:15:27 -05:00