goutils

package
v1.4.121 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: MulanPSL-2.0 Imports: 8 Imported by: 71

Documentation

Index

Constants

View Source
const (
	RotateSize = "100M" //1024 * 1024 * 20

)

Variables

This section is empty.

Functions

func Debug

func Debug(v ...interface{})

func Error

func Error(v ...interface{})

func Info

func Info(v ...interface{})

func InjectGoLog

func InjectGoLog(s *GoLog)

func InjectGoLogcli

func InjectGoLogcli(s *GoLogcli)

func InjectGoLogerr

func InjectGoLogerr(s *GoLogerr)

func InjectGoLogstat

func InjectGoLogstat(s *GoLogstat)

func LoadGoLog

func LoadGoLog() baseiface.ISingleton

func LoadGoLogcli

func LoadGoLogcli() baseiface.ISingleton

func LoadGoLogerr

func LoadGoLogerr() baseiface.ISingleton

func LoadGoLogstat

func LoadGoLogstat() baseiface.ISingleton

func Stat

func Stat(v ...interface{})

func Warning added in v1.0.502

func Warning(v ...interface{})

Types

type GoLog

type GoLog struct {
	basedto.BaseEntitySingle

	Name string

	*glog.Logger
	// contains filtered or unexported fields
}

https://blog.csdn.net/weixin_51261234/article/details/124504638

func FindBeanGoLog

func FindBeanGoLog() *GoLog

func NewGoLog

func NewGoLog() *GoLog

func (*GoLog) SetLevel added in v1.0.501

func (l *GoLog) SetLevel(level int) *GoLog

func (*GoLog) SetLevelErr added in v1.0.501

func (l *GoLog) SetLevelErr() *GoLog

type GoLogcli

type GoLogcli struct {
	basedto.BaseEntitySingle
	GoLog
}

func FindBeanGoLogcli

func FindBeanGoLogcli() *GoLogcli

func NewGoLogcli

func NewGoLogcli() *GoLogcli

type GoLogerr

type GoLogerr struct {
	basedto.BaseEntitySingle
	*GoLog
}

func FindBeanGoLogerr

func FindBeanGoLogerr() *GoLogerr

func NewGoLogServerErr

func NewGoLogServerErr() *GoLogerr

type GoLogstat

type GoLogstat struct {
	basedto.BaseEntitySingle
	*GoLog
}

func FindBeanGoLogstat

func FindBeanGoLogstat() *GoLogstat

func NewGoLogStat

func NewGoLogStat() *GoLogstat

Jump to

Keyboard shortcuts

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