Best way for logging in Ionic


I would like to logging errors and some steps in my app.
Today, I’m doing it in a service, where I get and save the message in database.

Is there a better and faster way to do this?



Firebase would work for this.

Plus it works great with anuglar