trace

package
v6.43.1-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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