Code example for Handler

Methods: flush

0
            } 
        } 
 
        @Override 
        public void flush() { 
            handler.flush();
        } 
 
        @Override 
        public void close() throws SecurityException { 
            handler.close();
        } 
 
    } 
 
    public void detach() { 
        logger.removeHandler(handler);
        handler.flush();
        handler.close();
    }