log

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bold

func Bold(str string) string

func Debug

func Debug(vals ...interface{})

func Debugf

func Debugf(format string, vals ...interface{})

func Error

func Error(vals ...interface{})

func Errorf

func Errorf(format string, vals ...interface{})

func Fatal

func Fatal(vals ...interface{})

func Fatalf

func Fatalf(format string, vals ...interface{})

func Info

func Info(vals ...interface{})

func Infof

func Infof(format string, vals ...interface{})

func Init

func Init(l Logger)

func Warn

func Warn(vals ...interface{})

func Warnf

func Warnf(format string, vals ...interface{})

Types

type Logger

type Logger interface {
	Info(vals ...interface{})
	Infof(format string, vals ...interface{})
	Debug(vals ...interface{})
	Debugf(format string, vals ...interface{})
	Warn(vals ...interface{})
	Warnf(format string, vals ...interface{})
	Error(vals ...interface{})
	Errorf(format string, vals ...interface{})
	Fatal(vals ...interface{})
	Fatalf(format string, vals ...interface{})
}

func DefaultGlg

func DefaultGlg() Logger

func NewGlg

func NewGlg(g *glg.Glg) Logger

New returns a new glglogger instance.

Jump to

Keyboard shortcuts

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