Is there a way to send client browser console logs to the backend using a REST API in an Angular 4 application? I need all types of logs (Console.log, console.error, console.warn) to be forwarded.
I've explored the following options:
Using stacktrace.js, but it has limited documentation for integration with Angular applications and only logs errors.
Implementing custom error handling, which also only logs errors.
If anyone could provide a small example, I would greatly appreciate it. Thank you.