lgx

package
v1.7.8 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LgxStd   = 0
	LgxGcp   = 1
	LgxDebug = 2
	LgxFile  = 4
)

LGX_STD #Standard mit Time LGX_GCP #GoogleCloud ohne Time

Variables

This section is empty.

Functions

func CreateDirIfNotExist added in v1.7.1

func CreateDirIfNotExist(dirName string) int

CreateDirIfNotExist #

func DirExists added in v1.7.1

func DirExists(path string) bool

DirExists #

func Fatal

func Fatal(v ...interface{})

Fatal #

func FileExists added in v1.7.1

func FileExists(filename string) bool

FileExists #

func IsDirEmpty added in v1.7.4

func IsDirEmpty(name string) bool

IsDirEmpty #

func PathJoin added in v1.6.6

func PathJoin(elem ...string) string

PathJoin # path.Join ist falsch fuer Windows

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 Println added in v1.6.1

func Println(v ...interface{})

Println #

func SearchEmptyDirs added in v1.7.4

func SearchEmptyDirs(dir string) *[]string

SearchEmptyDirs #

func SearchFilesOlderAs added in v1.7.4

func SearchFilesOlderAs(dir string, days int) *[]string

SearchFilesOlderAs #

func SetProp added in v1.4.0

func SetProp(prop int)

SetProp #

func Start added in v1.4.2

func Start(w io.Writer, info string, prop int, dir string, pfx string)

Start #

Types

type Lgx

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

Lgx #

func New

func New(out io.Writer, 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) Println added in v1.6.1

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

Println #

func (*Lgx) SetOutput

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

SetOutput sets the output destination for the logger.

Jump to

Keyboard shortcuts

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