[][src]Function input_sys::libinput_log_set_priority

pub unsafe extern "C" fn libinput_log_set_priority(
    libinput: *mut libinput,
    priority: libinput_log_priority
)

@ingroup base

Set the log priority for the libinput context. Messages with priorities equal to or higher than the argument will be printed to the context's log handler.

The default log priority is @ref LIBINPUT_LOG_PRIORITY_ERROR.

@param libinput A previously initialized libinput context @param priority The minimum priority of log messages to print.

@see libinput_log_set_handler @see libinput_log_get_priority