Function ovr_sys::ovr_TraceMessage
[−]
[src]
pub unsafe extern "C" fn ovr_TraceMessage(
level: c_int,
message: *const c_char
) -> c_int
Writes a message string to the LibOVR tracing mechanism (if enabled).
This message will be passed back to the application via the ovrLogCallback if
it was registered.
level One of the ovrLogLevel constants.
message A UTF8-encoded null-terminated string.
Returns the strlen of the message or a negative value if the message is too large.