code: public void dump() throws InvocationException {
  		if (_updated) {
  			synchronized (_lock) {
  				if (!_updated)
  					return;
  
  				List<LogMessage> messages = _cache;
  				_cache = new ArrayList<LogMessage>();
  
  				save(messages);
  
  				_updated = false;
  				_lastDumpTime = System.currentTimeMillis();
  			}
  		}
  	}
docs: Dumps (writes) the currently cached log messages.
  
  @throws InvocationException when error occured.
  
  @see #write(LogLevel, String, Exception, String)