filelog

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileLogger

func NewFileLogger(conf string) (*zap.Logger, error)

NewFileLogger 获取file Logger filename: //日志文件存放目录 maxsize: //文件大小限制,单位MB maxbackups: //最大保留日志文件数量 maxage: //日志文件保留天数 level: //日志等级 compress: //是否压缩处理

Types

This section is empty.

Jump to

Keyboard shortcuts

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