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