trace

package
v6.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LoggingToStdout bool

Functions

func PRIVATE_DATA_PLACEHOLDER

func PRIVATE_DATA_PLACEHOLDER() string

func Sanitize

func Sanitize(input string) string

func SetStdout

func SetStdout(s io.Writer)

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(verbose bool, cf_trace, config_trace 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