Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogLevel_name = map[int32]string{ 0: "verbose", 1: "debug", 2: "info", 3: "warning", 4: "error", 5: "fatal", } LogLevel_value = map[string]int32{ "verbose": 0, "debug": 1, "info": 2, "warning": 3, "error": 4, "fatal": 5, } )
Enum value maps for LogLevel.
View Source
var File_config_log_log_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type LogLevel ¶
type LogLevel int32
func (LogLevel) Descriptor ¶
func (LogLevel) Descriptor() protoreflect.EnumDescriptor
func (LogLevel) EnumDescriptor
deprecated
func (LogLevel) Number ¶
func (x LogLevel) Number() protoreflect.EnumNumber
func (LogLevel) Type ¶
func (LogLevel) Type() protoreflect.EnumType
type Logcat ¶
type Logcat struct { Level LogLevel `protobuf:"varint,1,opt,name=level,proto3,enum=yuhaiin.log.LogLevel" json:"level,omitempty"` Save bool `protobuf:"varint,2,opt,name=save,proto3" json:"save,omitempty"` // contains filtered or unexported fields }
func (*Logcat) Descriptor
deprecated
func (*Logcat) ProtoMessage ¶
func (*Logcat) ProtoMessage()
func (*Logcat) ProtoReflect ¶
func (x *Logcat) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.