Flecs v3.2
A fast entity component system (ECS) for C & C++
|
Journaling addon that logs API functions. More...
Go to the source code of this file.
Macros | |
#define | FLECS_JOURNAL_H |
#define | FLECS_JOURNAL_LOG_LEVEL (0) |
#define | flecs_journal(...) |
Typedefs | |
typedef enum ecs_journal_kind_t | ecs_journal_kind_t |
Enumerations | |
enum | ecs_journal_kind_t { EcsJournalNew , EcsJournalMove , EcsJournalClear , EcsJournalDelete , EcsJournalDeleteWith , EcsJournalRemoveAll , EcsJournalTableEvents } |
Functions | |
FLECS_DBG_API void | flecs_journal_begin (ecs_world_t *world, ecs_journal_kind_t kind, ecs_entity_t entity, ecs_type_t *add, ecs_type_t *remove) |
FLECS_DBG_API void | flecs_journal_end (void) |
Journaling addon that logs API functions.
The journaling addon traces API calls. The trace is formatted as runnable C code, which allows for (partially) reproducing the behavior of an app with the journaling trace.
The journaling addon is disabled by default. Enabling it can have a significant impact on performance.
Definition in file journal.h.