IStructuredLogFromILog2#

class omni.structuredlog.IStructuredLogFromILog2#

Bases: _IStructuredLogFromILog2

This extends the functionality of the @ref omni::structuredlog::IStructuredLogFromILog interface. This allows for the event flags of the log consumer event to be modified. This is an internal interface however and is not intended to be used externally.

Methods

__init__(*args, **kwargs)

Overloaded function.

set_logging_event_flags(self, set_flags, ...)

Modifies the flags for the log consumer event.

Attributes

log_level

__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self: omni.structuredlog._structuredlog.IStructuredLogFromILog2, arg0: omni.core._core.IObject) -> None

  2. __init__(self: omni.structuredlog._structuredlog.IStructuredLogFromILog2) -> None

set_logging_event_flags(
self: omni.structuredlog._structuredlog._IStructuredLogFromILog2,
set_flags: int,
clear_flags: int,
) bool#

Modifies the flags for the log consumer event.

@param[in] setFlags The set of flags to add to the log consumer event.

@param[in] clearFlags The set of flags to remove from the log consumer event. These

flags will be cleared before the flags from @p setFlags are added.

@returns ``true`` if the log consumer event’s flags were successfully modified. Returns

``false`` if the log consumer event or schema is not present or did not get loaded.