Feature/fga/rust sdk tracing (#1036)

* Align TracingConfiguration with iOS

* Create TracingTree from rust sdk

* tracing: create a working configuration with RustTracingTree

* Tracing: WIP implementation of new api

* Tracing: clean up

* Tracing: use the latest api

* Tracing: some more clean up

* Remove generated logcat file after compressing it

---------

Co-authored-by: ganfra <francoisg@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
ganfra 2023-08-09 12:18:49 +02:00 committed by GitHub
parent f15817447c
commit 3f1d241b48
19 changed files with 455 additions and 162 deletions

View file

@ -16,6 +16,8 @@
package io.element.android.features.rageshake.api.reporter
import java.io.File
interface BugReporter {
/**
* Send a bug report.
@ -43,4 +45,14 @@ interface BugReporter {
customFields: Map<String, String>? = null,
listener: BugReporterListener?
)
/**
* Clean the log files if needed to avoid wasting disk space.
*/
fun cleanLogDirectoryIfNeeded()
/**
* Provide the log directory.
*/
fun logDirectory(): File
}