print

package
v3.0.0-...-ad58db6 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

func NewPrintCommand

func NewPrintCommand(cu utils.CmdUtils, printCb printCmd) *cli.Command

func Print

func Print(logStream io.Reader, pc PrintConfig) error

Print reads and prints back out the log file

Types

type PrintConfig

type PrintConfig struct {
	DateFormat     string
	ParserConfig   parser.Config
	ReporterConfig reporter.Config
	FilterConfig   filter.Config
}

type PrintReporter

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

PrintReporter outputs log report

func NewPrintReporter

func NewPrintReporter(config reporter.Config) *PrintReporter

func (PrintReporter) Flush

func (pr PrintReporter) Flush() error

func (PrintReporter) Process

func (pr PrintReporter) Process(ln *shared.LogNode) error

Jump to

Keyboard shortcuts

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