logger

package
v0.20.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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