boolean close() {
            if (bufferedWriter != null) {
                try {
                    bufferedWriter.close();
                } catch (IOException e) {
                    e.printStackTrace();
                    return false;
                } finally {
                    bufferedWriter = null;
                    lastFileName = null;
                    logFile = null;
                }
            }
            return true;
        }
Close the current log file if it is opened.

@return true if closed successfully, false otherwise
android/android_framework/base/src/main/java/com/elvishew/xlog/printer/file/FilePrinter.java