column

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultColumns = []mapping.Column{
	sourcePseudoColumn,
	mapping.Timestamp,
	mapping.Application,
	mapping.Context,
	callerPsuedoColumn,
	mapping.Level,
	mapping.Message,
}

DefaultColumns ...

Functions

func RegisterSourceStyle

func RegisterSourceStyle(
	style color.FgBgTuple,
	layout layout.ColumnLayout,
	src source.Source,
)

RegisterSourceStyle ...

Types

type Table

type Table struct {
	// contains filtered or unexported fields
}

Table ...

func NewTable

func NewTable(config sink.Config) *Table

NewTable ...

func (*Table) Render

func (table *Table) Render(event event.SinkEvent) string

Render ...

Jump to

Keyboard shortcuts

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