package log

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

Index

Functions

func Print

func Print(v ...interface{})

Print delegates to the Logger

func Printf

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

Printf delegates to the Logger

func SetLogger

func SetLogger(customLogger StdLogger)

SetLogger sets the logger for this package

Types

type StdLogger

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

Source Files

log.go

Version
v2.3.0+incompatible
Published
Sep 18, 2017
Platform
js/wasm
Imports
2 packages
Last checked
2 minutes ago

Tools for package owners.