log

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Debugln

func Debugln(args ...interface{})

func Error

func Error(args ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Errorln

func Errorln(args ...interface{})

func Fatal

func Fatal(args ...interface{})

func Fatalf

func Fatalf(format string, args ...interface{})

func Fatalln

func Fatalln(args ...interface{})

func Flush added in v0.2.0

func Flush() error

func Info

func Info(args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func Infoln

func Infoln(args ...interface{})

func Print

func Print(args ...interface{})

func Printf

func Printf(format string, args ...interface{})

func Println

func Println(args ...interface{})

func StandardLogger

func StandardLogger(s logging.Severity) *log.Logger

func Warn

func Warn(args ...interface{})

func Warnf

func Warnf(format string, args ...interface{})

func Warnln

func Warnln(args ...interface{})

func WithRequest

func WithRequest(r *http.Request)

Types

type Entry added in v0.2.1

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

func WithField added in v0.2.1

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

func WithFields added in v0.2.1

func WithFields(fields map[string]interface{}) *Entry

func (*Entry) Debug added in v0.2.1

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

func (*Entry) Debugf added in v0.2.1

func (e *Entry) Debugf(format string, args ...interface{})

func (*Entry) Debugln added in v0.2.1

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

func (*Entry) Error added in v0.2.1

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

func (*Entry) Errorf added in v0.2.1

func (e *Entry) Errorf(format string, args ...interface{})

func (*Entry) Errorln added in v0.2.1

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

func (*Entry) Fatal added in v0.2.1

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

func (*Entry) Fatalf added in v0.2.1

func (e *Entry) Fatalf(format string, args ...interface{})

func (*Entry) Fatalln added in v0.2.1

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

func (*Entry) Info added in v0.2.1

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

func (*Entry) Infof added in v0.2.1

func (e *Entry) Infof(format string, args ...interface{})

func (*Entry) Infoln added in v0.2.1

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

func (*Entry) Print added in v0.2.1

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

func (*Entry) Printf added in v0.2.1

func (e *Entry) Printf(format string, args ...interface{})

func (*Entry) Println added in v0.2.1

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

func (*Entry) Warn added in v0.2.1

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

func (*Entry) Warnf added in v0.2.1

func (e *Entry) Warnf(format string, args ...interface{})

func (*Entry) Warnln added in v0.2.1

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

func (*Entry) WithField added in v0.2.1

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

Jump to

Keyboard shortcuts

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