public ApplicationLogger(String name){
// logText = new ArrayList<String>();
try {
- fileStream = new FileOutputStream(Global.currentDir+"logs/"+name);
+ fileStream = new FileOutputStream(Global.getFileManager().getLogsDirFile(name));
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
super(out);\r
buffer = new ArrayList<String>();\r
\r
- file = new File(Global.getDirectoryPath()+"logs"+File.separatorChar +name);\r
+ file = Global.getFileManager().getLogsDirFile(name);\r
try {\r
fos = new FileOutputStream(file);\r
dos = new DataOutputStream(fos);\r