mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 01:20:59 +00:00
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; }
|
||
|---|---|---|
| .. | ||
| Color | ||
| Containers | ||
| VP9 | ||
| CMakeLists.txt | ||
| DecoderError.h | ||
| PlaybackManager.cpp | ||
| PlaybackManager.h | ||
| Sample.h | ||
| Track.h | ||
| VideoDecoder.h | ||
| VideoFrame.cpp | ||
| VideoFrame.h | ||