mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-07 16:06:08 +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) {
|
fun startLogging(directory: File, storagePath: String) {
|
||||||
fileLoggingTree()?.let {
|
fileLoggingTree()?.let {
|
||||||
Timber.forest().drop(Timber.forest().indexOf(it))
|
Timber.uproot(it)
|
||||||
}
|
}
|
||||||
if (!directory.exists())
|
if (!directory.exists())
|
||||||
directory.mkdirs()
|
directory.mkdirs()
|
||||||
@ -18,7 +18,7 @@ object LoggingHelper {
|
|||||||
|
|
||||||
fun stopLogging() {
|
fun stopLogging() {
|
||||||
fileLoggingTree()?.let {
|
fileLoggingTree()?.let {
|
||||||
Timber.forest().drop(Timber.forest().indexOf(it))
|
Timber.uproot(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user