Function grpcio_sys::grpc_tracer_set_enabled[][src]

pub unsafe extern "C" fn grpc_tracer_set_enabled(
    name: *const c_char,
    enabled: c_int
) -> c_int
Expand description

Enable or disable a tracer.

Tracers (usually controlled by the environment variable GRPC_TRACE) allow printf-style debugging on GRPC internals, and are useful for tracking down problems in the field.

Use of this function is not strictly thread-safe, but the thread-safety issues raised by it should not be of concern.