severity

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Severity

type Severity string
const (
	Default   Severity = "DEFAULT"   // The log entry has no assigned severity level.
	Debug     Severity = "DEBUG"     // Debug or trace information.
	Info      Severity = "INFO"      // Routine information, such as ongoing status or performance.
	Notice    Severity = "NOTICE"    // Normal but significant events, such as start up, shut down, or a config change.
	Warning   Severity = "WARNING"   // Warning events might cause problems.
	Error     Severity = "ERROR"     // Error events are likely to cause problems.
	Critical  Severity = "CRITICAL"  // Critical events cause more severe problems or outages.
	Alert     Severity = "ALERT"     // A person must take an action immediately.
	Emergency Severity = "EMERGENCY" // One or more systems are unusable.
)

severity levels as defined in: - https://github.com/googleapis/googleapis/blob/master/google/logging/type/log_severity.proto - https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#logseverity

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL