logger

package
v0.3.10-0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SeverityEmergency = TEventSeverity("EMERGENCY")
	SeverityAlert     = TEventSeverity("ALERT")
	SeverityCritical  = TEventSeverity("CRITICAL")
	SeverityError     = TEventSeverity("ERROR")
	SeverityWarning   = TEventSeverity("WARNING")
	SeverityNotice    = TEventSeverity("NOTICE")
	SeverityInfo      = TEventSeverity("INFO")
	SeverityDebug     = TEventSeverity("DEBUG")
)

风险级别 0 紧急(Emergency) 1 警报(Alert) 2 关键(Critical) 3 错误(Error) 4 警告(Warning) 5 通知(Notice) 6 信息(informational) 7 调试(debug)

View Source
const (
	KindNormal   = TEventKind("NORMAL")
	KindAbnormal = TEventKind("ABNORMAL")
	KindIllegal  = TEventKind("ILLEGAL")
)
View Source
const (
	SERVICE_TYPE = apis.SERVICE_TYPE_LOG
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionLogListInput

type ActionLogListInput struct {
	apis.OpsLogListInput

	Service []string `json:"service"`

	Success *bool `json:"success"`

	Ip []string `json:"ip"`

	Severity []string `json:"severity"`

	Kind []string `json:"kind"`
}

type BaremetalEventListInput

type BaremetalEventListInput struct {
	apis.ModelBaseListInput

	// since
	Since time.Time `json:"since"`
	// until
	Until time.Time `json:"until"`
	// host_id
	HostId []string `json:"host_id"`
	// id
	Id []int64 `json:"id"`
	// EventId
	EventId []string `json:"event_id"`
	// Type
	Type []string `json:"type"`
	// ipmi_ip
	IpmiIp []string `json:"ipmi_ip"`
}

type TEventKind

type TEventKind string

type TEventSeverity

type TEventSeverity string

Jump to

Keyboard shortcuts

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