SHTK_CLI_DEBUG(3)

NAME
shtk_cli_debug - Prints a debug message

LIBRARY
shtk_import cli

SYNOPSIS
shtk_cli_debug message1 [.. messageN]

DESCRIPTION
The shtk_cli_debug function prints the given debug message to stderr. The message can be provided as one or more arguments as depicted by message1 to messageN; all arguments are concatenated together into a single line.

The printed message has the following form, where ‘progname’ is determined by shtk_cli_progname(3):

    progname: D: message1 .. messageN

Debug-level messages are disabled by default and can be enabled with the shtk_cli_set_log_level(3) function. Therefore, shtk_cli_debug should be used to report information that is generally useful to debug a problem and not appropriate for regular usage.

SEE ALSO
shtk(3), shtk_cli(3)

HISTORY
shtk_cli_debug first appeared in shtk 1.7.