layouts

package
v0.0.0-...-bb0ada6 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONLayoutParams

type JSONLayoutParams struct {
	HideTimestamp bool
}

type Layout

type Layout interface {
	Format(ev event.LogEvent) []byte
}

func NewJSONLayout

func NewJSONLayout(params JSONLayoutParams) Layout

func NewPatternLayout

func NewPatternLayout(params PatterLayoutParams) Layout

func NewSimpleLayout

func NewSimpleLayout(params SimpleLayoutParams) Layout

type PatterLayoutParams

type PatterLayoutParams struct {
	Pattern    string
	AutoColors bool
}

type SimpleLayoutParams

type SimpleLayoutParams struct {
	AutoColors bool
}

Jump to

Keyboard shortcuts

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