Skip to content

MTY_SetLogFunc

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Set a function to receive log messages.

This function is set globally.

void MTY_SetLogFunc(
    MTY_LogFunc func,
    void *      opaque
);

Parameters

func (MTY_LogFunc)

Function called when a new log message is available. Set to NULL to remove a previously set func.

opaque (void *)

Passed to func when it is called.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: Log

Clone this wiki locally