SHTK_CLI_LOG_LEVEL(3)
πΈ NAME πΈ
Okay so this is the SHTK_CLI_LOG_LEVEL(3) page, straight out of the Library Functions Manual, and itβs here for one very specific vibe check: is this logging level visible? β¨
shtk_cli_log_levelβ checks if the given logging level is visible π
π¦ LIBRARY π¦
You get this by importing the cli library:
shtk_import cli
π SYNOPSIS π
shtk_cli_log_level level
β¨ DESCRIPTION β¨
The shtk_cli_log_level function checks if the given logging level is currently being sent to stderr β like, is this level actually making it out to stderr right now, bestie? π
The possible values for level are, in order of severity:
errorwarninginfodebug
And they correspond to the various functions of the form shtk_cli_<level> β iykyk π«Ά
For example: after setting the level to warning, shtk_cli_log_level would return true for both error-level and warning-level messages, and would return false for both info-level and debug-level messages. No cap. π
β οΈ Important: error-level messages are always displayed. Always always. π
The current log level can be programmatically set with the shtk_cli_set_log_level(3) function, and the default level corresponds to info β thatβs the starting vibe. π±
π SEE ALSO π
π HISTORY π
shtk_cli_log_level first appeared in shtk 1.7 β a certified icon since then π
Okay thatβs the whole page! This Debian edition is dated February 3, 2016, and itβs the SHTK_CLI_LOG_LEVEL(3) manual page signing off. Slay your logs, bestie πβ¨
π¦ 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