lgx

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LgxStd = 0
	LgxGcp = 1
)

LGX_STD #Standard mit Time LGX_GCP #GoogleCloud ohne Time

Variables

This section is empty.

Functions

func Fatal

func Fatal(v ...interface{})

Fatal #

func Print

func Print(v ...interface{})

Print #

func PrintDebug

func PrintDebug(v ...interface{})

PrintDebug #

func PrintError

func PrintError(v ...interface{})

PrintError #

func PrintInfo

func PrintInfo(v ...interface{})

PrintInfo #

func Printf

func Printf(format string, v ...interface{})

Printf #

func PrintfDebug

func PrintfDebug(format string, v ...interface{})

PrintfDebug #

func PrintfError

func PrintfError(format string, v ...interface{})

PrintfError #

func PrintfInfo

func PrintfInfo(format string, v ...interface{})

PrintfInfo #

func SetDefault

func SetDefault(w io.Writer, pfx string, prop int)

SetDefault #

Types

type Lgx

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

Lgx #

func New

func New(out io.Writer, pfx string, prop int) *Lgx

New #

func (*Lgx) Fatal

func (p *Lgx) Fatal(v ...interface{})

Fatal #

func (*Lgx) Print

func (p *Lgx) Print(v ...interface{})

Print #

func (*Lgx) Printf

func (p *Lgx) Printf(frm string, v ...interface{})

Printf #

func (*Lgx) SetOutput

func (p *Lgx) SetOutput(w io.Writer)

SetOutput sets the output destination for the logger.

func (*Lgx) SetPrefix

func (p *Lgx) SetPrefix(pfx string)

SetPrefix #

Jump to

Keyboard shortcuts

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