logs

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogRecord

type LogRecord struct {
	TraceId     string
	SpanId      string
	Timestamp   time.Time
	CollectTime time.Time
	LoggerName  string
	Level       string
	Caller      string
	Message     string
	Stack       string
	// Labels store other elems and kubernetes elems
	Labels map[string]any // json
}

func NewLogRecord

func NewLogRecord() *LogRecord

func (*LogRecord) FillRow

func (l *LogRecord) FillRow(ctx context.Context, row *table.Row)

func (*LogRecord) Free

func (l *LogRecord) Free()

func (*LogRecord) GetName

func (*LogRecord) GetName() string

func (*LogRecord) GetTable

func (*LogRecord) GetTable() *table.Table

func (*LogRecord) Size

func (l *LogRecord) Size() int64

Jump to

Keyboard shortcuts

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