You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

122 lines
5.2 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/logging/type/log_severity.proto
  3. package ltype // import "google.golang.org/genproto/googleapis/logging/type"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // The severity of the event described in a log entry, expressed as one of the
  18. // standard severity levels listed below. For your reference, the levels are
  19. // assigned the listed numeric values. The effect of using numeric values other
  20. // than those listed is undefined.
  21. //
  22. // You can filter for log entries by severity. For example, the following
  23. // filter expression will match log entries with severities `INFO`, `NOTICE`,
  24. // and `WARNING`:
  25. //
  26. // severity > DEBUG AND severity <= WARNING
  27. //
  28. // If you are writing log entries, you should map other severity encodings to
  29. // one of these standard levels. For example, you might map all of Java's FINE,
  30. // FINER, and FINEST levels to `LogSeverity.DEBUG`. You can preserve the
  31. // original severity level in the log entry payload if you wish.
  32. type LogSeverity int32
  33. const (
  34. // (0) The log entry has no assigned severity level.
  35. LogSeverity_DEFAULT LogSeverity = 0
  36. // (100) Debug or trace information.
  37. LogSeverity_DEBUG LogSeverity = 100
  38. // (200) Routine information, such as ongoing status or performance.
  39. LogSeverity_INFO LogSeverity = 200
  40. // (300) Normal but significant events, such as start up, shut down, or
  41. // a configuration change.
  42. LogSeverity_NOTICE LogSeverity = 300
  43. // (400) Warning events might cause problems.
  44. LogSeverity_WARNING LogSeverity = 400
  45. // (500) Error events are likely to cause problems.
  46. LogSeverity_ERROR LogSeverity = 500
  47. // (600) Critical events cause more severe problems or outages.
  48. LogSeverity_CRITICAL LogSeverity = 600
  49. // (700) A person must take an action immediately.
  50. LogSeverity_ALERT LogSeverity = 700
  51. // (800) One or more systems are unusable.
  52. LogSeverity_EMERGENCY LogSeverity = 800
  53. )
  54. var LogSeverity_name = map[int32]string{
  55. 0: "DEFAULT",
  56. 100: "DEBUG",
  57. 200: "INFO",
  58. 300: "NOTICE",
  59. 400: "WARNING",
  60. 500: "ERROR",
  61. 600: "CRITICAL",
  62. 700: "ALERT",
  63. 800: "EMERGENCY",
  64. }
  65. var LogSeverity_value = map[string]int32{
  66. "DEFAULT": 0,
  67. "DEBUG": 100,
  68. "INFO": 200,
  69. "NOTICE": 300,
  70. "WARNING": 400,
  71. "ERROR": 500,
  72. "CRITICAL": 600,
  73. "ALERT": 700,
  74. "EMERGENCY": 800,
  75. }
  76. func (x LogSeverity) String() string {
  77. return proto.EnumName(LogSeverity_name, int32(x))
  78. }
  79. func (LogSeverity) EnumDescriptor() ([]byte, []int) {
  80. return fileDescriptor_log_severity_8ce61232bc3e5482, []int{0}
  81. }
  82. func init() {
  83. proto.RegisterEnum("google.logging.type.LogSeverity", LogSeverity_name, LogSeverity_value)
  84. }
  85. func init() {
  86. proto.RegisterFile("google/logging/type/log_severity.proto", fileDescriptor_log_severity_8ce61232bc3e5482)
  87. }
  88. var fileDescriptor_log_severity_8ce61232bc3e5482 = []byte{
  89. // 309 bytes of a gzipped FileDescriptorProto
  90. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4b, 0xcf, 0xcf, 0x4f,
  91. 0xcf, 0x49, 0xd5, 0xcf, 0xc9, 0x4f, 0x4f, 0xcf, 0xcc, 0x4b, 0xd7, 0x2f, 0xa9, 0x2c, 0x00, 0x73,
  92. 0xe2, 0x8b, 0x53, 0xcb, 0x52, 0x8b, 0x32, 0x4b, 0x2a, 0xf5, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85,
  93. 0x84, 0x21, 0xea, 0xf4, 0xa0, 0xea, 0xf4, 0x40, 0xea, 0xa4, 0x64, 0xa0, 0x9a, 0x13, 0x0b, 0x32,
  94. 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0x5a, 0xb4, 0x9a,
  95. 0x18, 0xb9, 0xb8, 0x7d, 0xf2, 0xd3, 0x83, 0xa1, 0x06, 0x09, 0x71, 0x73, 0xb1, 0xbb, 0xb8, 0xba,
  96. 0x39, 0x86, 0xfa, 0x84, 0x08, 0x30, 0x08, 0x71, 0x72, 0xb1, 0xba, 0xb8, 0x3a, 0x85, 0xba, 0x0b,
  97. 0xa4, 0x08, 0x71, 0x72, 0xb1, 0x78, 0xfa, 0xb9, 0xf9, 0x0b, 0x9c, 0x60, 0x14, 0xe2, 0xe6, 0x62,
  98. 0xf3, 0xf3, 0x0f, 0xf1, 0x74, 0x76, 0x15, 0x58, 0xc3, 0x24, 0xc4, 0xc3, 0xc5, 0x1e, 0xee, 0x18,
  99. 0xe4, 0xe7, 0xe9, 0xe7, 0x2e, 0x30, 0x81, 0x59, 0x88, 0x8b, 0x8b, 0xd5, 0x35, 0x28, 0xc8, 0x3f,
  100. 0x48, 0xe0, 0x0b, 0xb3, 0x10, 0x2f, 0x17, 0x87, 0x73, 0x90, 0x67, 0x88, 0xa7, 0xb3, 0xa3, 0x8f,
  101. 0xc0, 0x0d, 0x16, 0x90, 0x94, 0xa3, 0x8f, 0x6b, 0x50, 0x88, 0xc0, 0x1e, 0x56, 0x21, 0x3e, 0x2e,
  102. 0x4e, 0x57, 0x5f, 0xd7, 0x20, 0x77, 0x57, 0x3f, 0xe7, 0x48, 0x81, 0x05, 0x6c, 0x4e, 0xf3, 0x19,
  103. 0xb9, 0xc4, 0x93, 0xf3, 0x73, 0xf5, 0xb0, 0x38, 0xdf, 0x49, 0x00, 0xc9, 0x75, 0x01, 0x20, 0x27,
  104. 0x07, 0x30, 0x46, 0x59, 0x40, 0x15, 0xa6, 0xe7, 0xe7, 0x24, 0xe6, 0xa5, 0xeb, 0xe5, 0x17, 0xa5,
  105. 0xeb, 0xa7, 0xa7, 0xe6, 0x81, 0x3d, 0xa4, 0x0f, 0x91, 0x4a, 0x2c, 0xc8, 0x2c, 0x46, 0x09, 0x2e,
  106. 0xeb, 0x1c, 0x10, 0xb9, 0x8a, 0x49, 0xd2, 0x1d, 0xa2, 0xd5, 0x39, 0x27, 0xbf, 0x34, 0x45, 0xcf,
  107. 0x07, 0x6a, 0x53, 0x48, 0x65, 0x41, 0xea, 0x29, 0x98, 0x5c, 0x0c, 0x58, 0x2e, 0x06, 0x2a, 0x17,
  108. 0x03, 0x92, 0x4b, 0x62, 0x03, 0x1b, 0x6e, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xea, 0x8a, 0xa7,
  109. 0x20, 0x8a, 0x01, 0x00, 0x00,
  110. }