logs

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogFileNameLen = 40
)

Variables

This section is empty.

Functions

func Init

func Init(fileName string, maxSize, maxBackups, maxAge int, logLevel uint32)

logs init maxSize 单位M maxBackups 最大备份数 maxAge 最大过期时间 天 logLevel 0-6:panic-trace,设置值越大,日志越详细

Types

This section is empty.

Jump to

Keyboard shortcuts

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