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:
parent
5dde382fbb
commit
9adb155f7e
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user