Skip to content

GB_attributed_log

Lior Halphon edited this page Nov 30, 2024 · 3 revisions

Definition

void GB_attributed_log(GB_gameboy_t *gb, GB_log_attributes_t attributes, const char *fmt, ...) __printflike(3, 4);

In gb.h

Description

A convenient function used to log a formatted string (following printf semantics), along with attributes through an emulator instance's log callback.

Thread Safety

GB_attributed_log is thread-safe and can be called from any thread and context.

See Also

Clone this wiki locally