1
0
mirror of https://github.com/owncloud/android-library.git synced 2026-08-11 16:33:03 +00:00

Update logcat library

This commit is contained in:
Abel García de Prada
2020-01-13 14:17:48 +01:00
parent c0a11c5d0b
commit 073a91c580
4 changed files with 5 additions and 5 deletions
@@ -84,7 +84,7 @@ public class OwnCloudClient extends HttpClient {
mBaseUri = baseUri;
mInstanceNumber = sIntanceCounter++;
Timber.d(" #" + mInstanceNumber + "Creating OwnCloudClient");
Timber.d("#" + mInstanceNumber + "Creating OwnCloudClient");
clearCredentials();
clearCookies();
@@ -161,7 +161,7 @@ public class OwnCloudClient extends HttpClient {
// Header to allow tracing requests in apache and ownCloud logs
addHeaderForAllRequests(OC_X_REQUEST_ID, requestId);
Timber.d("Executing " + method.getClass().getSimpleName() + " in request with id " + requestId);
Timber.d("Executing in request with id %s", requestId);
}
public RedirectionPath followRedirection(HttpBaseMethod method) throws Exception {
@@ -46,7 +46,7 @@ public class SimpleFactoryManager implements OwnCloudClientManager {
context.getApplicationContext(),
true);
Timber.v(" new client {" + (account.getName() != null ? account.getName() :
Timber.v("new client {" + (account.getName() != null ? account.getName() :
AccountUtils.buildAccountName(account.getBaseUri(), "")) + ", " + client.hashCode() + "}");
if (account.getCredentials() == null) {
@@ -13,7 +13,7 @@ object LoggingHelper {
}
if (!directory.exists())
directory.mkdirs()
Timber.plant(FileLoggingTree(directory, filename = storagePath, delegator = Timber::class.java))
Timber.plant(FileLoggingTree(directory, filename = storagePath))
}
fun stopLogging() {