OMNI_MODULE_ADD_STRUCTURED_LOG_SCHEMA
Defined in omni/core/ModuleExports.h
-
OMNI_MODULE_ADD_STRUCTURED_LOG_SCHEMA(exp_, fn_)
adds a new schema to be registered after core startup.
fn_
must not benullptr
.This does not need to be called directly. All the schemas included in a module will be implicitly added by OMNI_MODULE_SET_EXPORTS().
- Parameters
exp_ – The omni::core::ModuleExports table in which the schema should be added.
fn_ – The schema registration function that will be stored. This will be executed once the core’s startup has completed. This must not be nullptr.