log

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLog

func InitLog(conf *conf.TomlConfig)

初始化log配置,配置logrus日志文件滚动生成和

func SetLineNumLogrusHook

func SetLineNumLogrusHook()

Types

type LoggerStarter

type LoggerStarter struct {
	infra.BaseStarter
}

func (*LoggerStarter) Setup

func (l *LoggerStarter) Setup(ctx infra.StarterContext)

Jump to

Keyboard shortcuts

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