AlyxMoon / lunar-factorio-mod-manager

A mod manager for Factorio, programmed using the Electron framework.
MIT License
6 stars 2 forks source link

Add logging support #112

Closed AlyxMoon closed 4 years ago

AlyxMoon commented 4 years ago

There should be tiered logging throughout the entire app. From basic information to things that would help debugging in the event that users might run into problems. Likely want to use something like winston to simplify transports and log levels.

Since there will be a log file there should be information in the app about where that is, with an option to open/save that file elsewhere. Also the log file should be truncated if it gets too large.

AlyxMoon commented 4 years ago

Got most of this handled minus the page on frontend to provide some user info on the log files.

AlyxMoon commented 4 years ago

I've decided I'm content without the frontend logging everything, for now at least.