github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/enum_mav_severity.go (about)

     1  //autogenerated:yes
     2  //nolint:revive,misspell,govet,lll,dupl,gocritic
     3  package ardupilotmega
     4  
     5  import (
     6  	"github.com/bluenviron/gomavlib/v2/pkg/dialects/common"
     7  )
     8  
     9  // Indicates the severity level, generally used for status messages to indicate their relative urgency. Based on RFC-5424 using expanded definitions at: http://www.kiwisyslog.com/kb/info:-syslog-message-levels/.
    10  type MAV_SEVERITY = common.MAV_SEVERITY
    11  
    12  const (
    13  	// System is unusable. This is a "panic" condition.
    14  	MAV_SEVERITY_EMERGENCY MAV_SEVERITY = common.MAV_SEVERITY_EMERGENCY
    15  	// Action should be taken immediately. Indicates error in non-critical systems.
    16  	MAV_SEVERITY_ALERT MAV_SEVERITY = common.MAV_SEVERITY_ALERT
    17  	// Action must be taken immediately. Indicates failure in a primary system.
    18  	MAV_SEVERITY_CRITICAL MAV_SEVERITY = common.MAV_SEVERITY_CRITICAL
    19  	// Indicates an error in secondary/redundant systems.
    20  	MAV_SEVERITY_ERROR MAV_SEVERITY = common.MAV_SEVERITY_ERROR
    21  	// Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning.
    22  	MAV_SEVERITY_WARNING MAV_SEVERITY = common.MAV_SEVERITY_WARNING
    23  	// An unusual event has occurred, though not an error condition. This should be investigated for the root cause.
    24  	MAV_SEVERITY_NOTICE MAV_SEVERITY = common.MAV_SEVERITY_NOTICE
    25  	// Normal operational messages. Useful for logging. No action is required for these messages.
    26  	MAV_SEVERITY_INFO MAV_SEVERITY = common.MAV_SEVERITY_INFO
    27  	// Useful non-operational messages that can assist in debugging. These should not occur during normal operation.
    28  	MAV_SEVERITY_DEBUG MAV_SEVERITY = common.MAV_SEVERITY_DEBUG
    29  )