log

package
v0.0.0-...-6f92cd8 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Debug *log.Logger
	Info  *log.Logger
	Warn  *log.Logger
	Err   *log.Logger
)

Functions

func InitLogger

func InitLogger(writer io.Writer, fileLevel string)

InitLogger 初始化Logger

func SetLogFileAndInit

func SetLogFileAndInit(logFileName string, level string) *os.File

SetLogFileAndInit 设置输出的日志文件

Types

This section is empty.

Jump to

Keyboard shortcuts

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