log

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(req *http.Request, err error) error

func Info

func Info(req *http.Request, format string, v ...interface{})

func Warn

func Warn(req *http.Request, format string, v ...interface{})

Types

type Logger added in v0.3.0

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

func NewLogger added in v0.3.0

func NewLogger() *Logger

func (*Logger) DecreaseSkippedCallers added in v0.3.0

func (logger *Logger) DecreaseSkippedCallers() *Logger

func (*Logger) Error added in v0.3.0

func (logger *Logger) Error(req *http.Request, err error) error

func (*Logger) IncreaseSkippedCallers added in v0.3.0

func (logger *Logger) IncreaseSkippedCallers() *Logger

func (*Logger) Info added in v0.3.0

func (logger *Logger) Info(req *http.Request, format string, v ...interface{})

func (*Logger) Warn added in v0.3.0

func (logger *Logger) Warn(req *http.Request, format string, v ...interface{})

Jump to

Keyboard shortcuts

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