omni::structuredlog::setStructuredLogLoggingEnabled

Defined in omni/structuredlog/StructuredLogSettingsUtils.h

inline bool omni::structuredlog::setStructuredLogLoggingEnabled(bool enabled = true)

Enables or disables the structured logging log message redirection.

This enables or disables structured logging log message redirection. This system will monitor log messages and emit them as structured log messages.

Parameters

enabled[in] Set to true to enable structured logging log message redirection. Set to false to disable structured logging log message redirection.

Returns

true if logging redirection was successfully enabled. Returns false otherwise