Logging, Events & Diagnostics
Diagnostics are part of the public operational model, not an afterthought. Current runtime evidence proves the diagnostics service is available during ExampleMod startup and verifies logger handoff to the BepInEx sink.
Diagnostic state dumps in the 0.5.x line include useful information such as toolkit/game versions, lifecycle state, game-data generation, registered consumers, event subscriber counts, active custom content, patch state and recent diagnostic entries.
Bug-report minimum
When reporting a toolkit issue, include:
- the complete ModAPI startup/version block;
- the relevant
[FTK2.ModAPI TEST]lines if using ExampleMod tests; - the first ModAPI error before secondary failures;
- exact reproduction steps;
- whether a save was loaded, created or intentionally disposable;
- whether the problem reproduces without unrelated mods.
See Troubleshooting for the full report checklist.