mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Let the SDK manage the file log cleanup, and keep one week of log.
This commit is contained in:
+6
-1
@@ -18,5 +18,10 @@ package io.element.android.libraries.matrix.api.tracing
|
||||
|
||||
sealed interface WriteToFilesConfiguration {
|
||||
data object Disabled : WriteToFilesConfiguration
|
||||
data class Enabled(val directory: String, val filenamePrefix: String) : WriteToFilesConfiguration
|
||||
data class Enabled(
|
||||
val directory: String,
|
||||
val filenamePrefix: String,
|
||||
val filenameSuffix: String?,
|
||||
val numberOfFiles: Int?,
|
||||
) : WriteToFilesConfiguration
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user