omni::core::ModuleExportEntryCarbILogging

Defined in omni/core/ModuleExports.h

struct ModuleExportEntryCarbILogging

omni::core::ModuleExports entry to interop with carb::logging::ILogging.

Use the helper OMNI_MODULE_SET_EXPORTS to add this entry.

Public Functions

inline ModuleExportEntryCarbILogging(const char *t, ModuleExportEntryFlag f)

Constructor.

Public Members

const char *type

Unique type name describing the entry.

ModuleExportEntryFlag flags

Special flags for the entry (ex: required).

uint32_t byteCount

Size of the entry in bytes (including the header).

carb::logging::ILogging **logging

Pointer to the module’s g_carbLogging pointer.

detail::CarbLogFn *logFn

Pointer to the module’s g_carbLogFn function pointer.

detail::CarbLogLevelFn *logLevelFn

Pointer to a module function which can set the log level.

int32_t *logLevel

Pointer to module memory where the logging threshold is stored.

carb::InterfaceDesc interfaceDesc

Required version of carb::logging::ILogging.