OffByOneStudios / massive-dangerzone

A platform agnostic module management system.
6 stars 1 forks source link

Add reports system. #54

Open mason-bially opened 10 years ago

mason-bially commented 10 years ago

We need a way to log things, and manage the content of these logs.

This will be bundled into a reports system, an ECS. The entities will be a report and the components will represent information about a report. A report can be "just a log message" but it can also be a container of other reports, or a location for recording incoming telemetry. It will also make it much easier to filter logs and telemetry. Some core components:

In madz there will be some helper features:

At some point in the future, for optimization, it may be useful to build an symbol system (and merge it with the one in craft engine). Namely a symbol system lets us use strings, but optimizes them into numbers, this may make some log calls much faster and take up less memory.

mason-bially commented 10 years ago

To support keeping track of which instance a report came from, we will also need: