mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-08 00:16:09 +00:00
Bring back storagePath argument in startLogging
This commit is contained in:
parent
5dde382fbb
commit
9adb155f7e
@ -71,10 +71,10 @@ public class Log_OC {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Start doing logging
|
* Start doing logging
|
||||||
* @param logPath : path of log file
|
* @param storagePath : directory for keeping logs
|
||||||
*/
|
*/
|
||||||
public static void startLogging() {
|
public static void startLogging(String storagePath) {
|
||||||
String logPath = Environment.getExternalStorageDirectory() + File.separator +
|
String logPath = storagePath + File.separator +
|
||||||
mOwncloudDataFolderLog + File.separator + LOG_FOLDER_NAME;
|
mOwncloudDataFolderLog + File.separator + LOG_FOLDER_NAME;
|
||||||
mFolder = new File(logPath);
|
mFolder = new File(logPath);
|
||||||
mLogFile = new File(mFolder + File.separator + mLogFileNames[0]);
|
mLogFile = new File(mFolder + File.separator + mLogFileNames[0]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user