code: func (s *Server) EmitAuditEvent(event events.Event, fields events.EventFields) {
  	log.Debugf("server.EmitAuditEvent(%v)", event.Name)
  	alog := s.alog
  	if alog != nil {
  		// record the event time with ms precision
  		fields[events.EventTime] = s.clock.Now().In(time.UTC).Round(time.Millisecond)
  		if err := alog.EmitAuditEvent(event, fields); err != nil {
  			log.Error(trace.DebugReport(err))
  		}
  	} else {
  		log.Warn("SSH server has no audit log")
  	}
  }
docs: // EmitAuditEvent logs a given event to the audit log attached to the
  // server who owns these sessions