formatter

package
Version: v2.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License: Apache-2.0 Imports: 5 Imported by: 33

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)

Source Files

Jump to

Keyboard shortcuts

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