diff --git a/owncloudComLibrary/build.gradle b/owncloudComLibrary/build.gradle index cfcd453d..29d7b5d6 100644 --- a/owncloudComLibrary/build.gradle +++ b/owncloudComLibrary/build.gradle @@ -6,7 +6,7 @@ dependencies { api 'com.squareup.okhttp3:okhttp:4.6.0' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion" api 'com.gitlab.ownclouders:dav4android:oc_support_2.1.5' - api 'com.github.AppDevNext.Logcat:LogcatCore:2.2.2' + api 'com.github.AppDevNext.Logcat:LogcatCoreLib:2.11.2' // Moshi implementation("com.squareup.moshi:moshi-kotlin:$moshiVersion") { diff --git a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/utils/LoggingHelper.kt b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/utils/LoggingHelper.kt index 9924c553..f6f963f8 100644 --- a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/utils/LoggingHelper.kt +++ b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/utils/LoggingHelper.kt @@ -24,6 +24,7 @@ package com.owncloud.android.lib.common.utils +import info.hannes.timber.DebugFormatTree import info.hannes.timber.FileLoggingTree import info.hannes.timber.fileLoggingTree import timber.log.Timber @@ -38,6 +39,7 @@ object LoggingHelper { if (!directory.exists()) directory.mkdirs() Timber.plant(FileLoggingTree(directory, filename = storagePath)) + Timber.plant(DebugFormatTree()) } fun stopLogging() {