Skip to content

Add a logging service. #47

@acrosman

Description

@acrosman

For places where it's tempting to use console.log or similar functions it would be better to actually run the messages to an OS-appropriate logging solution. Update the application to use a consistent logging service like electron-log or another suitable alternative. Support scripts in scripts do not need to leverage it, but any place in the main application where console is used should be used to use the new service.

As part of this update also add IPC support to allow renderers to also save log messages via the main logging service. The library for this should be shared across all games and not implemented uniquely each time.

Also propose updates to the copilot instructions file to instruct future agents to use the new service.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions