Function input_sys::libinput_log_set_handler [] [src]

pub unsafe extern "C" fn libinput_log_set_handler(
    libinput: *mut libinput,
    log_handler: libinput_log_handler
)

@ingroup base

Set the context's log handler. Messages with priorities equal to or higher than the context's log priority will be passed to the given log handler.

The default log handler prints to stderr.

@param libinput A previously initialized libinput context @param log_handler The log handler for library messages.

@see libinput_log_set_priority @see libinput_log_get_priority