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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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