openmrs-android-sdk/src/main/java/com/openmrs/android_sdk/library/OpenMRSLogger.java
/**
     * Saves a custom message to the log file. Use this method
     * to make the Log file more readable by formatting and
     * adding messages or to add analytics data to the Log file.
     * The message will not appear in the logcat window.
     * <p>
     * This method always works in the background and does not
     * return anything.
     *
     * @param msg a custom message
     */
Saves a custom message to the log file. Use this method
to make the Log file more readable by formatting and
adding messages or to add analytics data to the Log file.
The message will not appear in the logcat window.

This method always works in the background and does not
return anything.

@param msg a custom message
Saves a custom message to the log file . Use this method to make the Log file more readable by formatting and adding messages or to add analytics data to the Log file . The message will not appear in the logcat window . This method always works in the background and does not return anything . @param msg a custom message
public static void saveMsgToFile(String msg) {
        WriteMsgToFileAsyncTask asyncTask = new WriteMsgToFileAsyncTask();
        asyncTask.execute(msg);
    }
public static void saveMsgToFile ( String msg ) { WriteMsgToFileAsyncTask asyncTask = new WriteMsgToFileAsyncTask ( ) ; asyncTask . execute ( msg ) ; }
Saves a custom message to the log file.
Saves a custom message to the log file .
// pass the custom message for execution