logger

package
v0.0.0-...-22f14cb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

Factory LoggerFactory 注意此处非入口

func NewLoggerFactory

func NewLoggerFactory(outFile bool, path string) *Factory

NewLoggerFactory 建议全局创建后获取logger保存

func (*Factory) GetLogger

func (l *Factory) GetLogger() *Logger

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func (*Logger) Debug

func (l *Logger) Debug() *log.Logger

func (*Logger) Err

func (l *Logger) Err() *log.Logger

func (*Logger) Info

func (l *Logger) Info() *log.Logger

Jump to

Keyboard shortcuts

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