omni::core::ModuleExportEntrySchema

Defined in omni/core/ModuleExports.h

struct ModuleExportEntrySchema

omni::core::ModuleExports entry to add a new structured logging schema to be registered.

Use the helper OMNI_MODULE_ADD_STRUCTURED_LOG_SCHEMA() to add this entry.

Public Functions

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

omni::structuredlog::SchemaAddFn schemaAddFn

the schema registration function to run after core startup.