Function dummy_rustwlc::log_set_rust_handler
[−]
[src]
pub fn log_set_rust_handler(handler: fn(_: LogType, _: &str))
Registers a Rust callback for wlc logging.
This is a nice convenience function that should be used in place of
log_set_handler
. That way you can just pass a safe Rust &str
and not depend on libc`.