Let the SDK manage the file log cleanup, and keep one week of log.
This commit is contained in:
parent
ba1f21c0f9
commit
c1c3227bde
7 changed files with 23 additions and 47 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue