trace

package
v0.0.0-...-6857e3f Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpJSON

func DumpJSON(label string, data interface{})

func DumpRequest

func DumpRequest(req *http.Request)

func DumpResponse

func DumpResponse(resp *http.Response)

func PRIVATE_DATA_PLACEHOLDER

func PRIVATE_DATA_PLACEHOLDER() string

func Sanitize

func Sanitize(input string) (sanitized string)

func SetStdout

func SetStdout(s io.Writer)

Types

type Printer

type Printer interface {
	Print(v ...interface{})
	Printf(format string, v ...interface{})
	Println(v ...interface{})
}
var Logger Printer

func NewLogger

func NewLogger(env_setting string) Printer

Jump to

Keyboard shortcuts

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