Android Utililty Methods Log

List of utility methods to do Log

Description

The list of methods to do Log are organized into topic(s).

Method

voiddebugLsDir(String dir)
debug Ls Dir
File directory = new File(dir);
Log.d("quran_dbg", directory.getAbsolutePath());
if (directory.isDirectory()) {
    String[] children = directory.list();
    for (String s : children)
        debugLsDir(dir + File.separator + s);
voidwriteLog(String msg)
write Log
try {
    if (!logFile.exists()) {
        logFile.createNewFile();
    FileWriter fw = new FileWriter(logFile.getAbsoluteFile(), true);
    BufferedWriter bw = new BufferedWriter(fw);
    bw.write(msg);
    bw.close();
...