logrusService

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogrusService

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

func NewLogrusService

func NewLogrusService() *LogrusService

func (*LogrusService) LogGetWriter

func (lrs *LogrusService) LogGetWriter() io.Writer

func (*LogrusService) LogInit

func (lrs *LogrusService) LogInit(sign string, logFile string, logLevel int, isPrint bool, maxFileSize int,
	bakFilePath string, bakFileMaxCount int) log.ILogService

func (*LogrusService) LogSetLevel

func (lrs *LogrusService) LogSetLevel(logLevel int) log.ILogService

func (*LogrusService) StringLogLevel added in v0.0.6

func (lrs *LogrusService) StringLogLevel(level int) string

Jump to

Keyboard shortcuts

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