During app development it’s sometimes useful to keep an app running for an extended period of time to spot issues or to do some debug logging.
To capture all log statements to stdout and stderr from your app to a file (i.e. calls to this.log()
and this.error()
), I created homey-log-to-file
.
You can retrieve the logfile contents at any point through an HTTP request.
Instructions on how to install and use are provided on the Github page. This package is not intended to be used in production apps.