logback-android/src/main/java/ch/qos/logback/core/OutputStreamAppender.java
protected void closeOutputStream() {
    if (this.outputStream != null) {
      try {
        // before closing we have to output out layout's footer
        encoderClose();
        this.outputStream.close();
        this.outputStream = null;
      } catch (IOException e) {
        addStatus(new ErrorStatus(
            "Could not close output stream for OutputStreamAppender.", this, e));
      }
    }
  }
protected void closeOutputStream() {
    if (this.outputStream != null) {
      try {
        // before closing we have to output out layout's footer
        encoderClose();
        this.outputStream.close();
        this.outputStream = null;
      } catch (IOException e) {
        addStatus(new ErrorStatus(
            "Could not close output stream for OutputStreamAppender.", this, e));
      }
    }
  }
protected void closeOutputStream ( ) { if ( this . outputStream != null ) { try { // before closing we have to output out layout's footer encoderClose ( ) ; this . outputStream . close ( ) ; this . outputStream = null ; } catch ( IOException e ) { addStatus ( new ErrorStatus ( "Could not close output stream for OutputStreamAppender." , this , e ) ) ; } } }
Close the underlying {@link OutputStream}.
Close the underlying {