pub unsafe fn get_log_callback(
callback: retro_environment_t,
) -> Result<Option<retro_log_callback>, Box<dyn Error>>Expand description
Gets an interface for logging. This is useful for
logging in a cross-platform way
as certain platforms cannot use stderr for logging.
It also allows the frontend to
show logging information in a more suitable way.
If this interface is not used, libretro cores should
log to stderr as desired.