1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Bring back storagePath argument in startLogging

This commit is contained in:
Bartosz Przybylski 2015-11-07 18:07:19 +01:00 committed by David A. Velasco
parent 5dde382fbb
commit 9adb155f7e

View File

@ -71,10 +71,10 @@ public class Log_OC {
/**
* Start doing logging
* @param logPath : path of log file
* @param storagePath : directory for keeping logs
*/
public static void startLogging() {
String logPath = Environment.getExternalStorageDirectory() + File.separator +
public static void startLogging(String storagePath) {
String logPath = storagePath + File.separator +
mOwncloudDataFolderLog + File.separator + LOG_FOLDER_NAME;
mFolder = new File(logPath);
mLogFile = new File(mFolder + File.separator + mLogFileNames[0]);