Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 20efe90

Browse files
committed
QA report (5) fixed
1 parent 83048b6 commit 20efe90

File tree

1 file changed

+2
-2
lines changed
  • owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/utils

1 file changed

+2
-2
lines changed

owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/utils/LoggingHelper.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ object LoggingHelper {
99

1010
fun startLogging(directory: File, storagePath: String) {
1111
fileLoggingTree()?.let {
12-
Timber.forest().drop(Timber.forest().indexOf(it))
12+
Timber.uproot(it)
1313
}
1414
if (!directory.exists())
1515
directory.mkdirs()
@@ -18,7 +18,7 @@ object LoggingHelper {
1818

1919
fun stopLogging() {
2020
fileLoggingTree()?.let {
21-
Timber.forest().drop(Timber.forest().indexOf(it))
21+
Timber.uproot(it)
2222
}
2323
}
2424
}

0 commit comments

Comments
 (0)