Back to godoc.org
code.cloudfoundry.org/trace-logger

Package trace

v0.0.0-...-107ef08
Latest Go to latest

The latest major version is .

Published: Jan 19, 2017 | License: Apache-2.0 | Module: code.cloudfoundry.org/trace-logger

Index

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)

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier