indigo icon indicating copy to clipboard operation
indigo copied to clipboard

In game logs

Open davesmith00000 opened this issue 9 months ago • 2 comments

At the moment all logs are piped to the console, which is ok, but if you aren't looking for them then you might not see them. Might be good to revisit the IndigoLogger and have it render to an in game console log that pops up on error.

Will need a way to close the logs, and a way to disable them completely "in production". Or at least, make them not appear on certain error levels.

davesmith00000 avatar May 11 '24 09:05 davesmith00000

I've dithered on whether or not this is a good first issue. I think it could be depending on the solution.

Two approaches:

  1. It's some sort of deep integration with the engine: This is not beginner friendly. :)
  2. We do it like the FPS Counter and make it a SubSystem that users can optionally add.

The subsystem version is very doable and I think I like it better, because it also means the "in production" requirement is just up to the user to manage with a flag or something.

davesmith00000 avatar May 11 '24 09:05 davesmith00000

Following option 2, we could make a separate lib and use the roguelike-starterkit to help. It has all the stuff we need in it...

davesmith00000 avatar Jun 09 '24 07:06 davesmith00000