log

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CapturePanic added in v0.1.3

func CapturePanic()

func Debugln

func Debugln(args ...interface{})

func Errorln

func Errorln(args ...interface{})

func Fatalln

func Fatalln(args ...interface{})

func Infoln

func Infoln(args ...interface{})

func Init

func Init(isDebug bool, fileWriter *os.File)

func Warningln

func Warningln(args ...interface{})

func Warnln

func Warnln(args ...interface{})

Types

type Entry

type Entry struct {
	// contains filtered or unexported fields
}

func WithField

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

func WithFields

func WithFields(fields Fields) *Entry

func (*Entry) Debugln

func (e *Entry) Debugln(args ...interface{})

func (*Entry) Errorln

func (e *Entry) Errorln(args ...interface{})

func (*Entry) Fatalln

func (e *Entry) Fatalln(args ...interface{})

func (*Entry) Infoln

func (e *Entry) Infoln(args ...interface{})

func (*Entry) Warningln

func (e *Entry) Warningln(args ...interface{})

func (*Entry) Warnln

func (e *Entry) Warnln(args ...interface{})

type Fields

type Fields map[string]interface{}

Jump to

Keyboard shortcuts

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