formatter

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultTimestampFormat = time.RFC3339
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TextFormatter

type TextFormatter struct {
	Name             string
	DisableTimestamp bool
	TimestampFormat  string
}

func (*TextFormatter) Format

func (f *TextFormatter) Format(entry *logrus.Entry) ([]byte, error)

Jump to

Keyboard shortcuts

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