logger

package
v0.0.0-...-fc9add9 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Critical

func Critical(v ...interface{}) error

func Criticalf

func Criticalf(format string, params ...interface{}) error

func Debug

func Debug(v ...interface{})

func Debugf

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

func Error

func Error(v ...interface{}) error

func Errorf

func Errorf(format string, params ...interface{}) error

func Info

func Info(v ...interface{})

func Infof

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

func InitAccessLog

func InitAccessLog(logConfigFile string) error

func InitLaunchLog

func InitLaunchLog() error

func InitLog

func InitLog(logConfigFile string) error

func LoggingHandler

func LoggingHandler(out io.Writer, h http.Handler) http.Handler

func Trace

func Trace(v ...interface{})

func Tracef

func Tracef(format string, params ...interface{})

func Warn

func Warn(v ...interface{}) error

func Warnf

func Warnf(format string, params ...interface{}) error

Types

type Access

type Access struct{}

func (*Access) Write

func (access *Access) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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