xlog

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MulanPSL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger(logFilename string, tag string) *zerolog.Logger

====================== 业务板块 ======================

func SetCuttingSignal

func SetCuttingSignal(sig os.Signal)

分割日志

Types

type Instance

type Instance struct{}

func (*Instance) GetName

func (i *Instance) GetName() string

func (*Instance) Run

func (i *Instance) Run() error

加载日志相关的配置信息

Jump to

Keyboard shortcuts

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