package log
import "github.com/emicklei/go-restful/log"
Index ¶
- func Print(v ...interface{})
- func Printf(format string, v ...interface{})
- func SetLogger(customLogger StdLogger)
- type StdLogger
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 ¶
- Version
- v2.16.0+incompatible (latest)
- Published
- Jul 11, 2022
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 6 days ago –
Tools for package owners.