formatter

package
v2.0.8+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

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