mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-11 16:33:03 +00:00
QA report (5) fixed
This commit is contained in:
+2
-2
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user