goutils

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 12 Imported by: 0

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 Errorf

func Errorf(f string, v ...interface{})

func IfNil

func IfNil(v ...any)

func Info

func Info(v ...any)

func InjectGoLog

func InjectGoLog(s *GoLog)

func InjectGoLogcli

func InjectGoLogcli(s *GoLogcli)

func InjectGoLogerr

func InjectGoLogerr(s *GoLogerr)

func InjectGoLogrule

func InjectGoLogrule(s *GoLogrule)

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 LoadGoLogrule

func LoadGoLogrule() baseiface.ISingleton

func LoadGoLogstat

func LoadGoLogstat() baseiface.ISingleton

func Stat

func Stat(v ...interface{})

func StdTextProc

func StdTextProc(v ...any) string

func Warn

func Warn(v ...interface{})

Types

type GoLog

type GoLog struct {
	basedto.BaseEntitySingle

	Name string
	*glog.Logger
}

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

func FindBeanGoLog

func FindBeanGoLog() *GoLog

FindBeanGoLog

func NewGoLog

func NewGoLog() *GoLog

type GoLogcli

type GoLogcli struct {
	basedto.BaseEntitySingle
	GoLog
}

func FindBeanGoLogcli

func FindBeanGoLogcli() *GoLogcli

FindBeanGoLogcli

func NewGoLogcli

func NewGoLogcli() *GoLogcli

type GoLogerr

type GoLogerr struct {
	basedto.BaseEntitySingle
	*GoLog
}

func FindBeanGoLogerr

func FindBeanGoLogerr() *GoLogerr

FindBeanGoLogerr

func NewGoLogServerErr

func NewGoLogServerErr() *GoLogerr

type GoLogrule

type GoLogrule struct {
	basedto.BaseEntitySingle
	*GoLog
}

func FindBeanGoLogrule

func FindBeanGoLogrule() *GoLogrule

FindBeanGoLogrule

func NewGoLogrule

func NewGoLogrule() *GoLogrule

type GoLogstat

type GoLogstat struct {
	basedto.BaseEntitySingle
	*GoLog
}

func FindBeanGoLogstat

func FindBeanGoLogstat() *GoLogstat

FindBeanGoLogstat

func NewGoLogStat

func NewGoLogStat() *GoLogstat

Jump to

Keyboard shortcuts

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