-
-
Notifications
You must be signed in to change notification settings - Fork 212
GB_log
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
void GB_log(GB_gameboy_t *gb, const char *fmt, ...) __printflike(2, 3);
In gb.h
A convenient function used to log a formatted string (following printf
semantics) through an emulator instance's log callback. Calling this function is equivalent to calling GB_attributed_log with the attributes
argument passed as 0
.
GB_log
is thread-safe and can be called from any thread and context.