trace

package
v7.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 8 Imported by: 180

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoggingToStdout bool

Functions

func PrivateDataPlaceholder

func PrivateDataPlaceholder() string

func Sanitize

func Sanitize(input string) string

Types

type LoggerPrinter

type LoggerPrinter struct {
	// contains filtered or unexported fields
}

func (*LoggerPrinter) Print

func (p *LoggerPrinter) Print(v ...interface{})

func (*LoggerPrinter) Printf

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

func (*LoggerPrinter) Println

func (p *LoggerPrinter) Println(v ...interface{})

func (*LoggerPrinter) WritesToConsole

func (p *LoggerPrinter) WritesToConsole() bool

type Printer

type Printer interface {
	Print(v ...interface{})
	Printf(format string, v ...interface{})
	Println(v ...interface{})
	WritesToConsole() bool
}

func CombinePrinters

func CombinePrinters(printers []Printer) Printer

func NewLogger

func NewLogger(writer io.Writer, verbose bool, boolsOrPaths ...string) Printer

func NewWriterPrinter

func NewWriterPrinter(writer io.Writer, writesToConsole bool) Printer

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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