Closed tracer8 closed 5 years ago
Check your external memory, there should be the folder "logger" where all log files are located.
I find on my sdcard, my internal storage, nothing here. Tried on Android/Data/packageName still empty.
According to the code, the file is created when a message is saved on a disc: File logFile = getLogFile(folder, "logs"); ... newFile = new File(folder, String.format("%s_%s.csv", fileName, newFileCount));
When you build CsvFormatStrategy, "diskPath" and "folder" are defined: String diskPath = Environment.getExternalStorageDirectory().getAbsolutePath(); String folder = diskPath + File.separatorChar + "logger";
So, I guess, the location should be:
Thanks for helping!
I'm finding every where on readme and issue zone, but can't find save location of log file. I'm tried find on my phone too have no chance. Please tell me. :D
Edit: I'm use exact usage code: Logger.addLogAdapter(new DiskLogAdapter()); then Logger.d("debug");