[nostalgia] Update developer-handbook oxTrace documentation
All checks were successful
Build / build (push) Successful in 2m31s
All checks were successful
Build / build (push) Successful in 2m31s
This commit is contained in:
parent
4d63a65fbd
commit
5f10edd35f
@ -357,8 +357,8 @@ the user almost certainly wants to know about it.
|
|||||||
```oxTrace``` and ```oxTracef```:
|
```oxTrace``` and ```oxTracef```:
|
||||||
```cpp
|
```cpp
|
||||||
void f(int x, int y) { // x = 9, y = 4
|
void f(int x, int y) { // x = 9, y = 4
|
||||||
oxTrace("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"
|
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);
|
return ox::writeClaw(pal);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user