You are here: SwitchKit Programmer’s Guide > 5 Logging Functions > sk_setSilentMode()
Use the sk_setSilentMode() function to cause or prevent log output from appearing on the screen. This function is also available as sk_setSilentMode().
Description
This function controlls the log out put on the screen. By default, log output from the application appears only in the log files.
int sk_setSilentMode(int isSilentModeFlag);
void skts_setSilentMode(int isSilentModeFlag);
The function parameters are shown in the table below.
Argument |
Description |
---|---|
isSilentModeFlag |
A non-zero value disables the output of logs to the screen. Setting it to 0 causes all output to log files to also appear on the screen. |
This function does not have a return value.