logger

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: MIT Imports: 1 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
}

Logger struct

func NewLogger

func NewLogger(quiet bool) Logger

New logger

func (Logger) Print

func (l Logger) Print(args ...interface{})

Print prints its argument if the --quiet flag is not passed

func (Logger) Printf

func (l Logger) Printf(format string, args ...interface{})

func (Logger) Println

func (l Logger) Println(args ...interface{})

Jump to

Keyboard shortcuts

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