github.com/v2fly/v2ray-core/v4@v4.45.2/common/log/log.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: common/log/log.proto 6 7 package log 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type Severity int32 24 25 const ( 26 Severity_Unknown Severity = 0 27 Severity_Error Severity = 1 28 Severity_Warning Severity = 2 29 Severity_Info Severity = 3 30 Severity_Debug Severity = 4 31 ) 32 33 // Enum value maps for Severity. 34 var ( 35 Severity_name = map[int32]string{ 36 0: "Unknown", 37 1: "Error", 38 2: "Warning", 39 3: "Info", 40 4: "Debug", 41 } 42 Severity_value = map[string]int32{ 43 "Unknown": 0, 44 "Error": 1, 45 "Warning": 2, 46 "Info": 3, 47 "Debug": 4, 48 } 49 ) 50 51 func (x Severity) Enum() *Severity { 52 p := new(Severity) 53 *p = x 54 return p 55 } 56 57 func (x Severity) String() string { 58 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 59 } 60 61 func (Severity) Descriptor() protoreflect.EnumDescriptor { 62 return file_common_log_log_proto_enumTypes[0].Descriptor() 63 } 64 65 func (Severity) Type() protoreflect.EnumType { 66 return &file_common_log_log_proto_enumTypes[0] 67 } 68 69 func (x Severity) Number() protoreflect.EnumNumber { 70 return protoreflect.EnumNumber(x) 71 } 72 73 // Deprecated: Use Severity.Descriptor instead. 74 func (Severity) EnumDescriptor() ([]byte, []int) { 75 return file_common_log_log_proto_rawDescGZIP(), []int{0} 76 } 77 78 var File_common_log_log_proto protoreflect.FileDescriptor 79 80 var file_common_log_log_proto_rawDesc = []byte{ 81 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6c, 0x6f, 0x67, 0x2f, 0x6c, 0x6f, 0x67, 82 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2e, 0x63, 0x6f, 83 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6c, 0x6f, 0x67, 0x2a, 0x44, 0x0a, 84 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x6e, 0x6b, 85 0x6e, 0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 86 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x10, 0x02, 0x12, 0x08, 87 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x65, 0x62, 0x75, 88 0x67, 0x10, 0x04, 0x42, 0x60, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x76, 0x32, 0x72, 0x61, 0x79, 89 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x6c, 0x6f, 0x67, 90 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x76, 91 0x32, 0x66, 0x6c, 0x79, 0x2f, 0x76, 0x32, 0x72, 0x61, 0x79, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2f, 92 0x76, 0x34, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6c, 0x6f, 0x67, 0xaa, 0x02, 0x15, 93 0x56, 0x32, 0x52, 0x61, 0x79, 0x2e, 0x43, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 94 0x6e, 0x2e, 0x4c, 0x6f, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 95 } 96 97 var ( 98 file_common_log_log_proto_rawDescOnce sync.Once 99 file_common_log_log_proto_rawDescData = file_common_log_log_proto_rawDesc 100 ) 101 102 func file_common_log_log_proto_rawDescGZIP() []byte { 103 file_common_log_log_proto_rawDescOnce.Do(func() { 104 file_common_log_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_log_log_proto_rawDescData) 105 }) 106 return file_common_log_log_proto_rawDescData 107 } 108 109 var file_common_log_log_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 110 var file_common_log_log_proto_goTypes = []interface{}{ 111 (Severity)(0), // 0: v2ray.core.common.log.Severity 112 } 113 var file_common_log_log_proto_depIdxs = []int32{ 114 0, // [0:0] is the sub-list for method output_type 115 0, // [0:0] is the sub-list for method input_type 116 0, // [0:0] is the sub-list for extension type_name 117 0, // [0:0] is the sub-list for extension extendee 118 0, // [0:0] is the sub-list for field type_name 119 } 120 121 func init() { file_common_log_log_proto_init() } 122 func file_common_log_log_proto_init() { 123 if File_common_log_log_proto != nil { 124 return 125 } 126 type x struct{} 127 out := protoimpl.TypeBuilder{ 128 File: protoimpl.DescBuilder{ 129 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 130 RawDescriptor: file_common_log_log_proto_rawDesc, 131 NumEnums: 1, 132 NumMessages: 0, 133 NumExtensions: 0, 134 NumServices: 0, 135 }, 136 GoTypes: file_common_log_log_proto_goTypes, 137 DependencyIndexes: file_common_log_log_proto_depIdxs, 138 EnumInfos: file_common_log_log_proto_enumTypes, 139 }.Build() 140 File_common_log_log_proto = out.File 141 file_common_log_log_proto_rawDesc = nil 142 file_common_log_log_proto_goTypes = nil 143 file_common_log_log_proto_depIdxs = nil 144 }