Skip to main content
Skip table of contents

WriteLibraryConfigStringS [LJM User's Guide]

Write a string-based LJM behavioral configuration value.

Syntax

LJM_ERROR_RETURN LJM_WriteLibraryConfigStringS(
const char * Parameter,
const char * String)

Parameters

Parameter [in]

The name of the configuration setting, see the configuration parameters page. Not case-sensitive. Must null-terminate. For the full list of possible parameters, see Configuration Parameters.

String [in]

The config value string to apply to Parameter. Must null-terminate. Must be of size LJM_MAX_NAME_SIZE or less, including the null-terminator.

Returns

LJM errorcodes or 0 for no error.

Remarks

To write a numerical configuration parameter, see LJM_WriteLibraryConfigS.

To load all the configuration values in a specified file, see LJM_LoadConfigurationFile.

Example

Set LJM_DEBUG_LOG_FILE to "new_log_file.log"

C
int LJMError = LJM_WriteLibraryConfigStringS(LJM_DEBUG_LOG_FILE, "new_log_file.log");
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.