MCPcopy Create free account
hub / github.com/F-Stack/f-stack / NgSetDebug

Function NgSetDebug

tools/libnetgraph/debug.c:195–203  ·  view source on GitHub ↗

* Set debug level, ie, verbosity, if "level" is non-negative. * Returns old debug level. */

Source from the content-addressed store, hash-verified

193 * Returns old debug level.
194 */
195int
196NgSetDebug(int level)
197{
198 int old = _gNgDebugLevel;
199
200 if (level >= 0)
201 _gNgDebugLevel = level;
202 return (old);
203}
204
205/*
206 * Set debug logging functions.

Callers 2

DebugCmdFunction · 0.85
main.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected