IsaacSimCommonLoggingGlobalConfig#

struct IsaacSimCommonLoggingGlobalConfig#

Patch-style process-wide logging configuration.

Only members selected by fields are applied. Other backend settings are left unchanged. Set structSize to sizeof(IsaacSimCommonLoggingGlobalConfig). When FILE_PATH is selected, a NULL or empty path disables file logging. Parent directories are not created. When CHANNELS is selected, each entry independently patches a Carbonite per-source enablement setting and threshold. INHERIT clears the corresponding override, and UNCHANGED leaves it untouched.

Public Members

size_t structSize#

Size of this structure for ABI versioning.

IsaacSimCommonLoggingGlobalConfigFields fields#

Bit mask selecting members to apply.

uint32_t enabled#

Whether process-wide logging is enabled.

int32_t minimumLevel#

Process-wide admission threshold.

uint32_t asynchronous#

Whether backend delivery is asynchronous.

uint32_t standardStreamEnabled#

Whether stdout and stderr output is enabled.

int32_t standardStreamLevel#

Standard-stream threshold.

uint32_t standardStreamFlush#

Whether stdout is flushed after every record.

int32_t outputStream#

Standard-stream selection.

uint32_t debugConsoleEnabled#

Whether the Windows debug console is enabled.

int32_t debugConsoleLevel#

Windows debug-console threshold.

uint32_t fileAppend#

Whether file output appends instead of replacing.

int32_t fileLevel#

File-destination threshold.

int32_t fileFlushLevel#

Minimum severity that flushes the file.

uint32_t filenameIncluded#

Whether source filenames are included.

uint32_t lineNumberIncluded#

Whether source line numbers are included.

uint32_t functionNameIncluded#

Whether source function names are included.

uint32_t timestampIncluded#

Whether absolute timestamps are included.

uint32_t utcTimestamps#

Whether absolute timestamps use UTC.

uint32_t microsecondTimestamps#

Whether absolute timestamps use microsecond precision.

int32_t elapsedTime#

Elapsed-time prefix unit.

uint32_t threadIdIncluded#

Whether thread identifiers are included.

uint32_t sourceIncluded#

Whether logger channels are included.

uint32_t processIdIncluded#

Whether process identifiers are included.

uint32_t traceIdIncluded#

Whether active trace identifiers are included.

uint32_t colorIncluded#

Whether terminal color codes are included.

uint32_t forceAnsiColor#

Whether ANSI color codes are forced.

int32_t multiprocessGroupId#

Nonzero identifier for cross-process output serialization.

const char *filePath#

UTF-8 file path, or NULL or empty to disable file output.

const IsaacSimCommonLoggingChannelConfig *channelConfigs#

Borrowed channel patch array.

size_t channelConfigCount#

Number of entries in channelConfigs.