Documentation ¶
Index ¶
- Variables
- type Event
- func (m *Event) CloneMessageVT() proto.Message
- func (m *Event) CloneVT() *Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetFile() string
- func (x *Event) GetLevel() Level
- func (x *Event) GetLine() int64
- func (x *Event) GetTime() *vttime.Time
- func (x *Event) GetValue() string
- func (m *Event) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Event) MarshalToVT(dAtA []byte) (int, error)
- func (m *Event) MarshalVT() (dAtA []byte, err error)
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (m *Event) SizeVT() (n int)
- func (x *Event) String() string
- func (m *Event) UnmarshalVT(dAtA []byte) error
- type Level
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Level_name = map[int32]string{ 0: "INFO", 1: "WARNING", 2: "ERROR", 3: "CONSOLE", } Level_value = map[string]int32{ "INFO": 0, "WARNING": 1, "ERROR": 2, "CONSOLE": 3, } )
Enum value maps for Level.
View Source
var File_logutil_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Time *vttime.Time `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` Level Level `protobuf:"varint,2,opt,name=level,proto3,enum=logutil.Level" json:"level,omitempty"` File string `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` Line int64 `protobuf:"varint,4,opt,name=line,proto3" json:"line,omitempty"` Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Event is a single logging event
func (*Event) CloneMessageVT ¶ added in v0.18.0
func (*Event) Descriptor
deprecated
func (*Event) MarshalToSizedBufferVT ¶ added in v0.11.0
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v0.11.0
func (x *Event) ProtoReflect() protoreflect.Message
func (*Event) UnmarshalVT ¶ added in v0.11.0
type Level ¶
type Level int32
Level is the level of the log messages.
func (Level) Descriptor ¶ added in v0.11.0
func (Level) Descriptor() protoreflect.EnumDescriptor
func (Level) EnumDescriptor
deprecated
func (Level) Number ¶ added in v0.11.0
func (x Level) Number() protoreflect.EnumNumber
func (Level) Type ¶ added in v0.11.0
func (Level) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.