pub unsafe extern "C" fn cass_log_set_callback(
    callback: CassLogCallback,
    data: *mut c_void
)
Expand description

Sets a callback for handling logging events.

Note: This needs to be done before any call that might log, such as any of the cass_cluster_() or cass_ssl_() functions.

Default: An internal callback that prints to stderr

@param[in] data An opaque data object passed to the callback. @param[in] callback A callback that handles logging events. This is called in a separate thread so access to shared data must be synchronized.