xerpi / vita2hos

[WIP] PlayStation Vita to Horizon OS (Nintendo Switch OS) translation layer
https://discord.gg/Z9kAsBqkbx
GNU General Public License v2.0
1.11k stars 33 forks source link

Add logging to file option #30

Closed TSRBerry closed 2 years ago

TSRBerry commented 2 years ago

This PR adds logging to a file as a 'define' option.

The define VITA2HOS_LOG_TO_FILE is enabled by default in the Makefile, which allows logs to be written to sdmc:/vita2hos/debug.log,

As soon as vita2hos starts, it will also write the current date and time to the log, so it's easier to distinguish different runs.