MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / llama_log_set

Function llama_log_set

llama_cpp/llama_cpp.py:4846–4854  ·  view source on GitHub ↗

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

(
    log_callback: Optional[CtypesFuncPointer],
    user_data: ctypes.c_void_p,
    /,
)

Source from the content-addressed store, hash-verified

4844 None,
4845)
4846def llama_log_set(
4847 log_callback: Optional[CtypesFuncPointer],
4848 user_data: ctypes.c_void_p,
4849 /,
4850):
4851 """Set callback for all future logging events.
4852
4853 If this is not called, or NULL is supplied, everything is output on stderr."""
4854 ...
4855
4856
4857# //

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…