Plug this function into the 'logger.func' struct item when initializing any of the sokol headers. For instance for sokol_audio.h it would loom like this:
saudio_setup(&(saudio_desc){ .logger = { .func = slog_func } })
See Implementation
Plug this function into the 'logger.func' struct item when initializing any of the sokol headers. For instance for sokol_audio.h it would loom like this:
saudio_setup(&(saudio_desc){ .logger = { .func = slog_func } })