consumers

package
v0.26.18 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFancyTerminalOutputLogConsumer

func NewFancyTerminalOutputLogConsumer(collapse bool) *fancyTerminalOutput

func NewJSONLogConsumer

func NewJSONLogConsumer() *jsonLogConsumer

func NewNullLogConsumer

func NewNullLogConsumer() *nullLogConsumer

Types

type JSONMessage

type JSONMessage struct {
	Timestamp          time.Time         `json:"timestamp"`
	Message            string            `json:"message"`
	Level              string            `json:"level"`
	LogKey             string            `json:"log_key"`
	LogValues          map[string]string `json:"log_values"`
	LogSectionChanged  bool              `json:"log_section_changed"`
	LogSectionIndent   bool              `json:"log_section_indent"`
	LogSectionUnindent bool              `json:"log_section_unindent"`
	LogSections        []string          `json:"log_sections"`
}

Jump to

Keyboard shortcuts

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