You are here: SwitchKit® Development Environment Programmer’s Guide > 5 Logging Functions > sk_setSilentMode()

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.

Syntax

int sk_setSilentMode(int isSilentModeFlag);

Threadsafe Syntax

void skts_setSilentMode(int isSilentModeFlag);

Parameters

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.

Return Values

This function does not have a return value.