NAME
- netmgt_dbg - print debugging output
SYNOPSIS
-
-
#include <stdio.h>
-
NETMGT_DBG1(format, [, arg] ...)
-
-
char * format;
NETMGT_DBG2(format, [, arg] ...)
char * format;
NETMGT_DBG3(format, [, arg] ...)
char * format;
DESCRIPTION
- These three macros are used for printing application execution tracing information to the standard output stream stdout. The arguments are identical to those of printf(1).
- NETMGT_DBG1
- writes its argument(s) if the debug level is at least one.
- NETMGT_DBG2
- writes its argument(s) if the debug level is at least two.
- NETMGT_DBG3
- writes its argument(s) if the debug level is at least three.
- Use NETMGT_DBG1 for minimal tracing, NETMGT_DBG2 for average tracing, and NETMGT_DBG3 for verbose tracing.
- The debug level is set via a call to netmgt_set_debug(3N).
INPUT ARGUMENTS
- See printf(1).
DIAGNOSTICS
- None.
SEE ALSO
-
netmgt_set_debug(3N)
|