2017-12-10 21:48:28 +00:00
|
|
|
package log
|
|
|
|
|
2018-09-17 13:12:58 +00:00
|
|
|
import (
|
|
|
|
fmt "fmt"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
math "math"
|
|
|
|
)
|
2017-12-10 21:48:28 +00:00
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the proto package it is being compiled against.
|
|
|
|
// A compilation error at this line likely means your copy of the
|
|
|
|
// proto package needs to be updated.
|
2018-12-01 16:39:51 +00:00
|
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
2017-12-10 21:48:28 +00:00
|
|
|
|
|
|
|
type Severity int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
Severity_Unknown Severity = 0
|
|
|
|
Severity_Error Severity = 1
|
|
|
|
Severity_Warning Severity = 2
|
|
|
|
Severity_Info Severity = 3
|
|
|
|
Severity_Debug Severity = 4
|
|
|
|
)
|
|
|
|
|
|
|
|
var Severity_name = map[int32]string{
|
|
|
|
0: "Unknown",
|
|
|
|
1: "Error",
|
|
|
|
2: "Warning",
|
|
|
|
3: "Info",
|
|
|
|
4: "Debug",
|
|
|
|
}
|
2018-09-14 09:00:59 +00:00
|
|
|
|
2017-12-10 21:48:28 +00:00
|
|
|
var Severity_value = map[string]int32{
|
|
|
|
"Unknown": 0,
|
|
|
|
"Error": 1,
|
|
|
|
"Warning": 2,
|
|
|
|
"Info": 3,
|
|
|
|
"Debug": 4,
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x Severity) String() string {
|
|
|
|
return proto.EnumName(Severity_name, int32(x))
|
|
|
|
}
|
2018-09-14 09:00:59 +00:00
|
|
|
|
2018-05-25 09:56:01 +00:00
|
|
|
func (Severity) EnumDescriptor() ([]byte, []int) {
|
2018-09-14 09:00:59 +00:00
|
|
|
return fileDescriptor_903ab33e40dced38, []int{0}
|
2018-05-25 09:56:01 +00:00
|
|
|
}
|
2017-12-10 21:48:28 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterEnum("v2ray.core.common.log.Severity", Severity_name, Severity_value)
|
|
|
|
}
|
|
|
|
|
2018-05-25 09:56:01 +00:00
|
|
|
func init() {
|
2018-09-14 09:00:59 +00:00
|
|
|
proto.RegisterFile("v2ray.com/core/common/log/log.proto", fileDescriptor_903ab33e40dced38)
|
2018-05-25 09:56:01 +00:00
|
|
|
}
|
2017-12-10 21:48:28 +00:00
|
|
|
|
2018-09-14 09:00:59 +00:00
|
|
|
var fileDescriptor_903ab33e40dced38 = []byte{
|
2017-12-10 21:48:28 +00:00
|
|
|
// 178 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2e, 0x33, 0x2a, 0x4a,
|
|
|
|
0xac, 0xd4, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xce, 0x2f, 0x4a, 0xd5, 0x4f, 0xce, 0xcf, 0xcd, 0xcd,
|
|
|
|
0xcf, 0xd3, 0xcf, 0xc9, 0x4f, 0x07, 0x61, 0xbd, 0x82, 0xa2, 0xfc, 0x92, 0x7c, 0x21, 0x51, 0x98,
|
|
|
|
0xa2, 0xa2, 0x54, 0x3d, 0x88, 0x02, 0xbd, 0x9c, 0xfc, 0x74, 0x2d, 0x17, 0x2e, 0x8e, 0xe0, 0xd4,
|
|
|
|
0xb2, 0xd4, 0xa2, 0xcc, 0x92, 0x4a, 0x21, 0x6e, 0x2e, 0xf6, 0xd0, 0xbc, 0xec, 0xbc, 0xfc, 0xf2,
|
|
|
|
0x3c, 0x01, 0x06, 0x21, 0x4e, 0x2e, 0x56, 0xd7, 0xa2, 0xa2, 0xfc, 0x22, 0x01, 0x46, 0x90, 0x78,
|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