InitLibraryConfig Struct

The library initialization config structure. More...

Public Attributes

ErrorHandlerBehavior  defaultErrorHandlerBehavior = ErrorHandlerBehavior::Ignore

Selects the behavor of the default error handler ic4::Error::Default().

LogLevel  apiLogLevel = LogLevel::Off

Specifies the log level for the library API.

LogLevel  internalLogLevel = LogLevel::Off

Specifies the log level for the internal library functions.

LogTarget  logTargets = {}

Selects the targets for logging.

std::string logFilePath

Specifies the log file to use if logTargets has LogTarget::File set.

uint64_t  reserved0 = 0

Reserved.

Detailed Description

The library initialization config structure.

Passed to initLibrary() when initializing the IC Imaging Control 4 C++ Class Library.

Member Data Documentation

◆ defaultErrorHandlerBehavior

ErrorHandlerBehavior defaultErrorHandlerBehavior = ErrorHandlerBehavior::Ignore

Selects the behavor of the default error handler ic4::Error::Default().

See Error Handling for details.

◆ logTargets

LogTarget logTargets = {}

Selects the targets for logging.

This is a bitwise combination of LogTarget values.

◆ reserved0

uint64_t reserved0 = 0

Reserved.

Must be nullptr.