public void close(){
  flush();
  if (writer != null) {
    try {
      writer.close();
    }
 catch (    IOException e) {
      Debug.error(fileName + ":FileHandler: Error closing writer",e);
    }
  }
  stopBufferTimer();
}

public void close ( ) { flush ( ) ; if ( writer != null ) { try { writer . close ( ) ; } catch ( IOException e ) { Debug . error ( fileName + ":FileHandler: Error closing writer" , e ) ; } } stopBufferTimer ( ) ; }
flush any buffered messages and close all the files .
