logger

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: Apache-2.0 Imports: 2 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 {
	Verbosity int
	Logger    *log.Logger
	// contains filtered or unexported fields
}

Logger helps us verbose log output

func (*Logger) Log

func (l *Logger) Log(verbosity int, msg string, args ...interface{})

Log will log.Printf the args if verbosity <= this logger's verbosity

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳