logger

package
v0.0.0-...-8c8589c Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(verbose bool, out io.Writer, prefix string) *Logger

func (*Logger) Caller

func (d *Logger) Caller(depth int) string

func (*Logger) Output

func (d *Logger) Output(caller string, verboseOnly bool, v ...interface{})

func (*Logger) Outputf

func (d *Logger) Outputf(caller string, verboseOnly bool, format string, v ...interface{})

func (*Logger) Printf

func (d *Logger) Printf(verboseOnly bool, format string, v ...interface{})

func (*Logger) Println

func (d *Logger) Println(verboseOnly bool, v ...interface{})

Jump to

Keyboard shortcuts

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