SHTK_CLI_DEBUG(3)
π SHTK_CLI_DEBUG π
okay bestie, welcome to the SHTK_CLI_DEBUG(3) page from the Library Functions Manual β itβs short, itβs cute, and itβs literally all about printing one debug message. letβs get into it π«Ά
πΈ NAME πΈ
shtk_cli_debug β prints a debug message β¨
π LIBRARY π
shtk_import cli
π¦ SYNOPSIS π¦
shtk_cli_debug message1 [.. messageN]
π DESCRIPTION π
so the shtk_cli_debug function prints the debug message you give it to stderr. yes, stderr, not stdout β she knows where she belongs π
you can pass the message as one or more arguments, shown here as message1 through messageN. all of those arguments get concatenated together into a single line. no cap, every argument becomes part of the same line β¨
the printed message has this exact 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. so yeah, shtk_cli_debug should be used to report information that is generally useful for debugging a problem and is not appropriate for regular usage. itβs giving βbackstage pass only,β not main-character public output π
lowkey important: debug messages are off by default, so donβt expect them to show up until debug-level logging is enabled with shtk_cli_set_log_level(3). periodt π
π SEE ALSO π
β HISTORY β
shtk_cli_debug first appeared in shtk 1.7. iconic behavior, honestly π
this page came from Debian, dated February 3, 2016 β SHTK_CLI_DEBUG(3) signing off, mwah ππ
π¦ where this page comes from
- nixos 26.05: shtk 1.7
- nixpkgs unstable: shtk 1.7
- Copyright 2016 Google Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms