Skip to main content

The "vngen_log_init" Function

Syntax#

vngen_log_init(size);
ArgumentTypeDescription
sizeintegerSets the maximum number of logged events to store in memory

Description#

Initializes all necessary functions for running the VNgen backlog in the current object. Must be run in the Create Event.

To contain memory usage, the backlog is limited to a certain quantity of events. Once the maximum number of logged entries has been reached, the oldest will be deleted. This also prevents lists from growing so large that they become cumbersome to navigate. As such, recommended values would be either 25 or 50 even though most devices can handle much more.

Example#

vngen_log_init(25);