3 ms·
Ask HN: Remote log service for react-native or mobile app
I am working on a mobile app and I am wondering is there a logging service that can accept http or socket call/connection so a mobile app or a web app can send its error logs to. Thereafter it would send the logs to elastic or some other log database. I see there are "logging service" for React to record crash logs. But I am logging for remote logging service not crash logging service.
- brylie 4y agoIs your frontend client connecting to a backend service that you control/develop? If so, your existing backend service can provide a REST endpoint to which your client could send structured log data. The backend service likely uses structured logging internally, so the /log POST endpoint could be a thin wrapper around whatever logging method your backend uses internally.