logger

package
Version: v0.0.0-...-506b656 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileLine

func GetFileLine(depth int) (file string, line int, ok bool)

Types

type Entry

type Entry struct {
	*log.Entry
}

func GetHTTPEntry

func GetHTTPEntry(ctx context.Context) *Entry

func NewEntry

func NewEntry() *Entry

func (*Entry) WithField

func (e *Entry) WithField(key string, value interface{}) *Entry

func (*Entry) WithFields

func (e *Entry) WithFields(args log.Fields) *Entry

func (*Entry) WithFieldsDepth

func (e *Entry) WithFieldsDepth(args log.Fields, depth int) *Entry

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL