|
|
@ -62,10 +62,14 @@ public class FairEmailLoggingProvider extends TinylogLoggingProvider {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void setup(Context context) {
|
|
|
|
static void setup(Context context) {
|
|
|
|
|
|
|
|
try {
|
|
|
|
System.setProperty("tinylog.directory",
|
|
|
|
System.setProperty("tinylog.directory",
|
|
|
|
Helper.ensureExists(context, "logs").getAbsolutePath());
|
|
|
|
Helper.ensureExists(context, "logs").getAbsolutePath());
|
|
|
|
|
|
|
|
|
|
|
|
setLevel(context);
|
|
|
|
setLevel(context);
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
|
|
|
|
Log.e(ex);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void setLevel(Context context) {
|
|
|
|
static void setLevel(Context context) {
|
|
|
|