log

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Log

type Log struct {

	// NOTE: This field should be generated by CodeCtrl gRPC servers, any value
	// assigned to it by loggers will be overwritten. Therefore, leave it as a
	// blank.
	Uuid        string                          `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Stack       []*backtrace_data.BacktraceData `protobuf:"bytes,2,rep,name=stack,proto3" json:"stack,omitempty"`
	LineNumber  uint32                          `protobuf:"varint,3,opt,name=lineNumber,proto3" json:"lineNumber,omitempty"`
	CodeSnippet map[uint32]string               `` /* 164-byte string literal not displayed */
	Message     string                          `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	MessageType string                          `protobuf:"bytes,6,opt,name=messageType,proto3" json:"messageType,omitempty"`
	FileName    string                          `protobuf:"bytes,7,opt,name=fileName,proto3" json:"fileName,omitempty"`
	// NOTE: This field should be generated by CodeCtrl gRPC servers, any value
	// assigned to it by loggers will be overwritten. Therefore, leave it as a
	// blank.
	Address  string   `protobuf:"bytes,8,opt,name=address,proto3" json:"address,omitempty"`
	Language string   `protobuf:"bytes,9,opt,name=language,proto3" json:"language,omitempty"`
	Warnings []string `protobuf:"bytes,10,rep,name=warnings,proto3" json:"warnings,omitempty"`
	// contains filtered or unexported fields
}

Main log message for use when sending to a CodeCtrl gRPC server.

func (*Log) Descriptor deprecated

func (*Log) Descriptor() ([]byte, []int)

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetAddress

func (x *Log) GetAddress() string

func (*Log) GetCodeSnippet

func (x *Log) GetCodeSnippet() map[uint32]string

func (*Log) GetFileName

func (x *Log) GetFileName() string

func (*Log) GetLanguage

func (x *Log) GetLanguage() string

func (*Log) GetLineNumber

func (x *Log) GetLineNumber() uint32

func (*Log) GetMessage

func (x *Log) GetMessage() string

func (*Log) GetMessageType

func (x *Log) GetMessageType() string

func (*Log) GetStack

func (x *Log) GetStack() []*backtrace_data.BacktraceData

func (*Log) GetUuid

func (x *Log) GetUuid() string

func (*Log) GetWarnings

func (x *Log) GetWarnings() []string

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

func (x *Log) ProtoReflect() protoreflect.Message

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL