Documentation ¶
Index ¶
- Variables
- type CatalogFile
- type Level
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetFlags() uint32
- func (x *Message) GetId() string
- func (x *Message) GetLevel() Level
- func (x *Message) GetLong() *Template
- func (x *Message) GetShort() *Template
- func (x *Message) GetSource() *Source
- func (x *Message) GetText() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Package
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetColumn() uint32
- func (x *Source) GetFile() string
- func (x *Source) GetLine() uint32
- func (x *Source) GetPkg() string
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
- type Template
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Level_name = map[int32]string{ 0: "TRACE", 1: "DEBUG", 2: "INFO", 3: "NOTE", 4: "WARN", 5: "ERROR", 6: "CRITICAL", } Level_value = map[string]int32{ "TRACE": 0, "DEBUG": 1, "INFO": 2, "NOTE": 3, "WARN": 4, "ERROR": 5, "CRITICAL": 6, } )
Enum value maps for Level.
View Source
var File_catalog_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CatalogFile ¶
type CatalogFile struct { Pkgs []*Package `protobuf:"bytes,1,rep,name=pkgs,proto3" json:"pkgs,omitempty"` // contains filtered or unexported fields }
a CatalogFile is the contents of a persisted message catalog
func (*CatalogFile) Descriptor
deprecated
func (*CatalogFile) Descriptor() ([]byte, []int)
Deprecated: Use CatalogFile.ProtoReflect.Descriptor instead.
func (*CatalogFile) GetPkgs ¶
func (x *CatalogFile) GetPkgs() []*Package
func (*CatalogFile) ProtoMessage ¶
func (*CatalogFile) ProtoMessage()
func (*CatalogFile) ProtoReflect ¶
func (x *CatalogFile) ProtoReflect() protoreflect.Message
func (*CatalogFile) Reset ¶
func (x *CatalogFile) Reset()
func (*CatalogFile) String ¶
func (x *CatalogFile) String() string
type Level ¶
type Level int32
func (Level) Descriptor ¶
func (Level) Descriptor() protoreflect.EnumDescriptor
func (Level) EnumDescriptor
deprecated
func (Level) Number ¶
func (x Level) Number() protoreflect.EnumNumber
func (Level) Type ¶
func (Level) Type() protoreflect.EnumType
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Source *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // fixed message argument Short *Template `protobuf:"bytes,4,opt,name=short,proto3" json:"short,omitempty"` // short template Long *Template `protobuf:"bytes,5,opt,name=long,proto3" json:"long,omitempty"` // long template Flags uint32 `protobuf:"varint,6,opt,name=flags,proto3" json:"flags,omitempty"` Level Level `protobuf:"varint,7,opt,name=level,proto3,enum=org.bitbucket.fufoo.unlog.pb.Level" json:"level,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Package ¶
type Package struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Go import path Msgs []*Message `protobuf:"bytes,2,rep,name=msgs,proto3" json:"msgs,omitempty"` // contains filtered or unexported fields }
func (*Package) Descriptor
deprecated
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
type Source ¶
type Source struct { Pkg string `protobuf:"bytes,1,opt,name=pkg,proto3" json:"pkg,omitempty"` File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` Line uint32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"` Column uint32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"` // contains filtered or unexported fields }
func (*Source) Descriptor
deprecated
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
type Template ¶
type Template struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` Uses []string `protobuf:"bytes,2,rep,name=uses,proto3" json:"uses,omitempty"` // contains filtered or unexported fields }
func (*Template) Descriptor
deprecated
func (*Template) GetContent ¶
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
func (*Template) ProtoReflect ¶
func (x *Template) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.