5 Commits

Author SHA1 Message Date
a324d0f755 Logging: Allow logging structured fields
Display this in the Debug Screen app. Additionally, add a reason why a
file was not loaded.
2020-05-17 19:47:11 +02:00
804254cb2e Fix crash while parsing logs
So ironic
2020-05-16 20:59:11 +02:00
ea733aacb5 Add a very simple Debug screen
This will show all the debug messages, which include when a file is
being ignored and not loaded, and hopefully all the exceptions. So the
user should be able to better understand why a file has been ignored.

It's not an ideal solution, but it's a quick fix.

Fixes #122
2020-05-06 01:09:57 +02:00
63e7d0e927 Logger: Log all messages to a file
For Bug reports we were calling 'adb logcat' and fetching the logs, but
the amount of logs we got was quite arbitrary, also this wasn't possible
in iOS.

With this approach, we don't get the lower level logs of Android/iOS or
from libgit2, but since we're slowly moving away from libgit2 anyway, it
will have to do.
2020-05-06 00:17:46 +02:00
bb0e574495 Abstract out the logging
This way moving away from Fimber will be much easier.
2020-04-04 11:50:57 +02:00