GlobalLoggingConfiguration#

Fully qualified name: isaacsim::common::logging::GlobalLoggingConfiguration

struct GlobalLoggingConfiguration#

Patch-style process-wide logging configuration.

An empty optional leaves the corresponding backend setting unchanged. An empty filePath string disables file logging. Parent directories are not created.

Public Members

std::optional<bool> enabled#

Enable or disable process-wide logging.

std::optional<LogLevel> minimumLevel#

Set the process-wide admission threshold.

std::optional<bool> asynchronous#

Enable or disable asynchronous backend delivery.

std::optional<bool> standardStreamEnabled#

Enable or disable stdout and stderr output.

std::optional<LogLevel> standardStreamLevel#

Set the standard-stream threshold.

std::optional<bool> standardStreamFlush#

Flush stdout after every standard-stream record.

std::optional<OutputStream> outputStream#

Select default stdout/stderr routing or force stderr.

std::optional<bool> debugConsoleEnabled#

Enable or disable the Windows debug console destination.

std::optional<LogLevel> debugConsoleLevel#

Set the Windows debug console threshold.

std::optional<std::string> filePath#

Set the UTF-8 log file path; an empty string disables file logging.

std::optional<bool> fileAppend#

Append to the configured log file instead of replacing it.

std::optional<LogLevel> fileLevel#

Set the file destination threshold.

std::optional<LogLevel> fileFlushLevel#

Flush the file for records at or above this level.

std::optional<bool> filenameIncluded#

Include the source filename.

std::optional<bool> lineNumberIncluded#

Include the source line number.

std::optional<bool> functionNameIncluded#

Include the source function name.

std::optional<bool> timestampIncluded#

Include an absolute timestamp.

std::optional<bool> utcTimestamps#

Render absolute timestamps in UTC rather than local time.

std::optional<bool> microsecondTimestamps#

Use microsecond rather than millisecond absolute-timestamp precision.

std::optional<ElapsedTimeUnit> elapsedTime#

Select or disable the elapsed-time prefix.

std::optional<bool> threadIdIncluded#

Include the emitting thread identifier.

std::optional<bool> sourceIncluded#

Include the logger channel.

std::optional<bool> processIdIncluded#

Include the process identifier.

std::optional<bool> traceIdIncluded#

Include the emitting thread’s trace identifier when present.

std::optional<bool> colorIncluded#

Include terminal color control codes.

std::optional<bool> forceAnsiColor#

Force ANSI color control codes when color output is enabled.

std::optional<std::int32_t> multiprocessGroupId#

Set a nonzero identifier to serialize output across cooperating processes.

std::vector<ChannelLoggingConfiguration> channels#

Apply Carbonite enablement and threshold patches to the named channels.