formatter

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 5 Imported by: 41

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONExtendedFormatter

type JSONExtendedFormatter struct {
	ShowLn bool
}

JSONExtendedFormatter formats log information to JSON format with time and line number in file

func (*JSONExtendedFormatter) Format

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

Jump to

Keyboard shortcuts

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