GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SHTK_CLI_LOG_LEVEL(3) FreeBSD Library Functions Manual SHTK_CLI_LOG_LEVEL(3)

shtk_cli_log_levelChecks if the given logging level is visible

shtk_import cli

shtk_cli_log_level level

The shtk_cli_log_level function checks if the given logging level is currently being sent to stderr. The possible values for level are, in order of severity: ‘error’, ‘warning’, ‘info’ and ‘debug’, and correspond to the various functions of the form ‘shtk_cli_<level>’.

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.

It is important to note that error-level messages are always displayed.

The current log level can be programmatically set with the shtk_cli_set_log_level(3) function and the default level corresponds to ‘info’.

shtk(3), shtk_cli_set_log_level(3)

shtk_cli_log_level first appeared in shtk 1.7.

February 3, 2016 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.