[−][src]Function libmpv_sys::mpv_request_log_messages
pub unsafe extern "C" fn mpv_request_log_messages(
ctx: *mut mpv_handle,
min_level: *const c_char
) -> c_int
Enable or disable receiving of log messages. These are the messages the command line player prints to the terminal. This call sets the minimum required log level for a message to be received with MPV_EVENT_LOG_MESSAGE.
@param min_level Minimal log level as string. Valid log levels: no fatal error warn info v debug trace The value "no" disables all messages. This is the default. An exception is the value "terminal-default", which uses the log level as set by the "--msg-level" option. This works even if the terminal is disabled. (Since API version 1.19.) Also see mpv_log_level. @return error code