git_trace_set

Sets the system tracing configuration to the specified level with the specified callback. When system events occur at a level equal to, or lower than, the given level they will be reported to the given callback.

extern (C) nothrow @nogc
int
git_trace_set

Parameters

level .git_trace_level_t

Level to set tracing to

cb .git_trace_cb

Function to call with trace data

Return Value

Type: int

0 or an error code

Meta