hiposfer / hive

Your go-to routing app for public transport
GNU Lesser General Public License v3.0
10 stars 0 forks source link

create a a logging strategy #111

Closed carocad closed 5 years ago

carocad commented 6 years ago

For our development version we enable console printing since we need that for debugging. See https://github.com/hiposfer/hive/blob/master/env/dev/env/expo/main.cljs#L9

However for production or channel releases we dont and shouldn not print to the console since this hinders the performance of the app as there is nowhere to print to.

An option that the iOS developers use at my work is to have an overlay view for the app where all logs to go and that is only displayed if the user touches with 3 fingers simultaneously.

Although it might not be possible for us to do it that way, we could implement something similar to have logs even in context where no console is present