code: func (s *Server) EmitAuditEvent(event events.Event, fields events.EventFields) {
  	auditLog := s.GetAuditLog()
  	if auditLog != nil {
  		if err := auditLog.EmitAuditEvent(event, fields); err != nil {
  			s.log.Error(err)
  		}
  	} else {
  		s.log.Warn("SSH server has no audit log")
  	}
  }
docs: // EmitAuditEvent sends an event to the Audit Log.