column

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultColumns = []schema.Column{
	sourcePseudoColumn,
	schema.Timestamp,
	schema.Application,
	schema.Context,
	callerPsuedoColumn,
	schema.Level,
	schema.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 model.SinkEvent) string

Render ...

Jump to

Keyboard shortcuts

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