mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 07:56:19 +00:00
QA report (5) fixed
This commit is contained in:
parent
83048b61d8
commit
20efe90e2d
@ -9,7 +9,7 @@ object LoggingHelper {
|
||||
|
||||
fun startLogging(directory: File, storagePath: String) {
|
||||
fileLoggingTree()?.let {
|
||||
Timber.forest().drop(Timber.forest().indexOf(it))
|
||||
Timber.uproot(it)
|
||||
}
|
||||
if (!directory.exists())
|
||||
directory.mkdirs()
|
||||
@ -18,7 +18,7 @@ object LoggingHelper {
|
||||
|
||||
fun stopLogging() {
|
||||
fileLoggingTree()?.let {
|
||||
Timber.forest().drop(Timber.forest().indexOf(it))
|
||||
Timber.uproot(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user