[nostalgia] Update developer-handbook oxTrace documentation
All checks were successful
Build / build (push) Successful in 2m31s

This commit is contained in:
Gary Talent 2024-09-07 20:50:44 -05:00
parent 4d63a65fbd
commit 5f10edd35f

View File

@ -357,8 +357,8 @@ the user almost certainly wants to know about it.
```oxTrace``` and ```oxTracef```:
```cpp
void f(int x, int y) { // x = 9, y = 4
oxTrace("nostalgia::core::sdl::gfx") << "f:" << x << y; // Output: "f: 9 4"
oxTracef("nostalgia::core::sdl::gfx", "f: {}, {}", x, y); // Output: "f: 9, 4"
oxTrace("nostalgia.core.sdl.gfx") << "f:" << x << y; // Output: "f: 9 4"
oxTracef("nostalgia.core.sdl.gfx", "f: {}, {}", x, y); // Output: "f: 9, 4"
}
```
@ -636,4 +636,3 @@ ox::Result<ox::Buffer> writeSpritePalette(NostalgiaPalette const&pal) noexcept {
return ox::writeClaw(pal);
}
```