code: func (l *AuditLog) Close() error {
  	if l.ExternalLog != nil {
  		if err := l.ExternalLog.Close(); err != nil {
  			log.Warningf("Close failure: %v", err)
  		}
  	}
  	l.cancel()
  	l.Lock()
  	defer l.Unlock()
  
  	if l.localLog != nil {
  		if err := l.localLog.Close(); err != nil {
  			log.Warningf("Close failure: %v", err)
  		}
  		l.localLog = nil
  	}
  	return nil
  }
docs: // Closes the audit log, which inluces closing all file handles and releasing
  // all session loggers