IC4_INIT_CONFIG Struct Reference

The library initialization config structure. More...

Data Fields

enum IC4_LOG_LEVEL  api_log_level

Specifies the library API log level.

enum IC4_LOG_LEVEL internal_log_level

Specifies the internal library log level.

enum IC4_LOG_TARGET_FLAGS log_targets

Selects the targets for logging.

const char * log_file

Specifies the log file to use if log_targets has IC4_LOGTARGET_FILE set.

uint64_t reserved0

Reserved.

Detailed Description

The library initialization config structure.

Passed to ic4_init_library when initializing the IC Imaging Control 4 C Library.

Field Documentation

◆ api_log_level

enum IC4_LOG_LEVEL api_log_level

Specifies the library API log level.

This log level controls whether to log errors for failed library API function calls.

◆ internal_log_level

enum IC4_LOG_LEVEL internal_log_level

Specifies the internal library log level.

This log level controls internal library logging.

◆ log_targets

enum IC4_LOG_TARGET_FLAGS log_targets

Selects the targets for logging.

This is a bitwise combination of IC4_LOG_TARGET_FLAGS values.

◆ reserved0

uint64_t reserved0

Reserved.

Must be 0.