llama_log_set method

void llama_log_set(
  1. ggml_log_callback log_callback,
  2. Pointer<Void> user_data
)

Set callback for all future logging events. If this is not called, or NULL is supplied, everything is output on stderr.

Implementation

void llama_log_set(
  ggml_log_callback log_callback,
  ffi.Pointer<ffi.Void> user_data,
) {
  return _llama_log_set(
    log_callback,
    user_data,
  );
}