go-restful: github.com/emicklei/go-restful/log Index | Files

package log

import "github.com/emicklei/go-restful/log"

Index

Package Files

log.go

func Print Uses

func Print(v ...interface{})

Print delegates to the Logger

func Printf Uses

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

Printf delegates to the Logger

func SetLogger Uses

func SetLogger(customLogger StdLogger)

SetLogger sets the logger for this package

type StdLogger Uses

type StdLogger interface {
    Print(v ...interface{})
    Printf(format string, v ...interface{})
}

StdLogger corresponds to a minimal subset of the interface satisfied by stdlib log.Logger

var Logger StdLogger

Package log imports 2 packages (graph) and is imported by 68 packages. Updated 2018-07-19. Refresh now. Tools for package owners.