public static String save(String str) {
        String path;
        synchronized (SAVE_DELETE_LOCK) {
            path = save("looper", str);
        }
        return path;
    }
Save log to file

@param str block info string
@return log file path
blockcanary-analyzer/src/main/java/com/github/moduth/blockcanary/LogWriter.java