logger

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 8 Imported by: 16

Documentation

Index

Constants

View Source
const (
	DEFAULT_FILE = "log.log"
)

Variables

This section is empty.

Functions

func Error

func Error(args ...interface{})

func Errorf

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

func Fatal

func Fatal(args ...interface{})

func GetLogStr

func GetLogStr(needLog string) string

func Info

func Info(args ...interface{})

func Infof

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

func InitLog

func InitLog(fileDir string, serviceName string, port string, console bool, maxAgeDay uint64)

func Panic

func Panic(args ...interface{})

func Sync

func Sync()

func Warn

func Warn(args ...interface{})

func Warnf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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