omni::core::ModuleExportEntryLogChannel

Defined in omni/core/ModuleExports.h

struct ModuleExportEntryLogChannel

omni::core::ModuleExports entry to add a logging channel.

Use the helper OMNI_MODULE_ADD_LOG_CHANNEL to add this entry.

Public Functions

inline ModuleExportEntryLogChannel(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).

const char *name

Name of the channel.

int32_t *level

Pointer to module memory where the channel’s logging level is stored.

const char *description

Description of the channel (for humans).