formatter

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	Format(r record.Record) string
	FormatBatch(rs []record.Record) string
}

type LineFormatter

type LineFormatter struct {
}

func NewLineFormatter

func NewLineFormatter() *LineFormatter

func (*LineFormatter) Format

func (f *LineFormatter) Format(r record.Record) string

func (*LineFormatter) FormatBatch

func (f *LineFormatter) FormatBatch(rs []record.Record) string

Jump to

Keyboard shortcuts

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