logger

package
v1.0.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

func Debugf(template string, args ...interface{})

func Debugw

func Debugw(template string, args ...interface{})

func Errorf

func Errorf(template string, args ...interface{})

func Errorw

func Errorw(template string, args ...interface{})

func Fatalf

func Fatalf(template string, args ...interface{})

func Fatalw

func Fatalw(template string, args ...interface{})

func Infof

func Infof(template string, args ...interface{})

func Infow

func Infow(template string, args ...interface{})

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}
var Log *Logger

func (*Logger) Debug

func (l *Logger) Debug(msg ...interface{})

func (*Logger) Error

func (l *Logger) Error(msg ...interface{})

func (*Logger) Info

func (l *Logger) Info(msg ...interface{})

func (*Logger) Print

func (l *Logger) Print(msg ...interface{})

func (*Logger) Println

func (l *Logger) Println(msg ...interface{})

func (*Logger) Warn

func (l *Logger) Warn(msg ...interface{})

Jump to

Keyboard shortcuts

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