z1log

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DPanic

func DPanic(args ...interface{})

func DPanicf

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

func Debug

func Debug(args ...interface{})

func Debugf

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

func Error

func Error(args ...interface{})

func Errorf

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

func Fatal

func Fatal(args ...interface{})

func Fatalf

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

func Info

func Info(args ...interface{})

func Infof

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

func Panic

func Panic(args ...interface{})

func Panicf

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

func SetCallerSkip

func SetCallerSkip(skip int)

func SetCompress

func SetCompress(compress bool)

func SetJsonFormat

func SetJsonFormat(jsonFormat bool)

func SetLogInConsole

func SetLogInConsole(logInConsole bool)

func SetLogPath

func SetLogPath(logPath string)

func SetMaxAge

func SetMaxAge(maxAge int)

func SetMaxBackups

func SetMaxBackups(maxBackups int)

func SetMaxSize

func SetMaxSize(maxSize int)

func SetShowLine

func SetShowLine(showLine bool)

func Warn

func Warn(args ...interface{})

func Warnf

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

Types

type Z1logger

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

func NewZ1logger

func NewZ1logger() *Z1logger

NewZ1logger new

Jump to

Keyboard shortcuts

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