Overview
C API (Component Interface)
struct EventLog { UINT32 flags; INT32 precision; const char* filename; UINT64 count; void* source; Symbol result; };

This event is a request from the system telling a data object that it should take the current state of the specified data object and add it to the log.

Context

This event is fired repeatedly during run-phase on any Data objects that are logging. This event is only fired on data objects that have already received EVENT_LOG_INIT (non-front-buffer objects do not receive this class of events). Also note that processes never receive this event - they should do any run-time logging whilst servicing EVENT_RUN_SERVICE.

Fields

Other fields are described in EVENT_LOG_INIT.

UINT64 count IN
The number of calls this object received previously to EVENT_LOG_SERVICE.
void* source IN
The source data object.

Action

  • Retrieve the contents of source and log to a local store for later retrieval.

Example

See the source code for std/2009/data/numeric.