package log

import "github.com/emicklei/go-restful/v3/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
v3.12.2 (latest)
Published
Feb 26, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
3 days ago

Tools for package owners.