1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-09 00:46:15 +00:00

12 Commits

Author SHA1 Message Date
Bartosz Przybylski
45650d2307 Sychronize methods for logging starting and stopping.
First of, this will prevent logs mixing, sencondly this will allow user to safely migrate data even when other thread will call logging functions
2016-08-17 18:56:19 +02:00
Bartosz Przybylski
17325dd43f Update Log_OC.java
Fix typos
2016-08-17 18:56:19 +02:00
Bartosz Przybylski
080b3f56fc Stop logging in exception free way 2016-08-17 18:56:19 +02:00
Bartosz Przybylski
9cbf572510 Add stopLogging method to Log_OC 2016-08-17 18:56:19 +02:00
Bartosz Przybylski
9adb155f7e Bring back storagePath argument in startLogging 2016-08-17 18:56:19 +02:00
Lukas Reschke
d39d26f842 Close in finally block 2015-12-16 18:08:36 +01:00
Lukas Reschke
5c87414390 Close resource in finally block
I don't quite get the reason for `mBuf` here as in `com.owncloud.android.lib.common.utils.Log_OC#appendLog` anyways a new `BufferedWriter` is started but it might make sense to close this here as this will otherwise cause warnings in static code scanners.

Didn't test this as I don't have a Java device and so it requires extensive testing.
2015-12-16 18:08:35 +01:00
David A. Velasco
8bf276377c Minor improvements for upload cancelation and conflicts in synchronization 2015-09-25 15:10:31 +02:00
jabarros
67c41d8ec3 Check Travis update 2014-10-20 10:42:26 +02:00
jabarros
0924277662 Update logger for not start logging each time it is something appended 2014-09-12 13:33:07 +02:00
jabarros
cb7b547cd7 Create method for making available the change of the log folder 2014-09-12 11:22:46 +02:00
jabarros
b0fe841c3e Add Log_OC class and update the log references 2014-09-12 09:30:54 +02:00