pub fn set_log_callback(handler: LogHandler) -> Result<()>Expand description
Sends the log messages of every runtime in the process to a callback.
The callback replaces the one set before.
Runs on the thread that logged the message, or on a background thread
for the severities that set_log_async_severity_mask() selects. The
callback can’t call the library.
See mln_log_set_callback in the
C API reference.