Updated GB_log (markdown)

Lior Halphon 2024-11-30 18:28:08 +02:00
parent 464172a3d0
commit 82c3d3bb8f
1 changed files with 6 additions and 1 deletions

@ -6,8 +6,13 @@ In `gb.h`
## Description
TBD
A convenient function used to log formatted string (following `printf` semantics) through an emulator instance's [[log callback|GB_set_log_callback]]. Calling this function is equivalent to calling [[GB_attributed_log]] with the `attributes` argument passed as `0`.
## Thread Safety
`GB_log` is thread-safe and can be called from any thread and context.
## See Also
* [[GB_attributed_log]]
* [[GB_set_log_callback]]