Documentation
¶
Index ¶
- type LogBroker
- func (slf *LogBroker) Close()
- func (slf *LogBroker) Debug(owner int64, client string, fmrt string, args ...interface{})
- func (slf *LogBroker) Error(owner int64, client string, fmrt string, args ...interface{})
- func (slf *LogBroker) Fatal(owner int64, client string, fmrt string, args ...interface{})
- func (slf *LogBroker) Info(owner int64, client string, fmrt string, args ...interface{})
- func (slf *LogBroker) Initial()
- func (slf *LogBroker) Mount()
- func (slf *LogBroker) Panic(owner int64, client string, fmrt string, args ...interface{})
- func (slf *LogBroker) Redirect()
- func (slf *LogBroker) Trace(owner int64, client string, fmrt string, args ...interface{})
- func (slf *LogBroker) Warning(owner int64, client string, fmrt string, args ...interface{})
- func (slf *LogBroker) WithFilPath(v string)
- func (slf *LogBroker) WithFormatter(f logrus.Formatter)
- func (slf *LogBroker) WithHandle(v *logrus.Logger)
- func (slf *LogBroker) WithLevel(v logrus.Level)
- func (slf *LogBroker) WithMailMax(v int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogBroker ¶
type LogBroker struct {
// contains filtered or unexported fields
}
LogBroker 日志系统
func (*LogBroker) Close ¶
func (slf *LogBroker) Close()
Close doc @Summary Turn off the logging system
func (*LogBroker) Debug ¶
Debug doc @Summary Output Debug log @Param (int32) owner @Param (string) format @Param (...interface{}) args
func (*LogBroker) Error ¶
Error doc @Summary Output error log @Param (int32) owner @Param (string) format @Param (...interface{}) args
func (*LogBroker) Fatal ¶
Fatal doc @Summary Output critical error log @Param (int32) owner @Param (string) format @Param (...interface{}) args
func (*LogBroker) Info ¶
Info doc @Summary Output information log @Param (int32) owner @Param (string) format @Param (...interface{}) args
func (*LogBroker) Panic ¶
Panic doc @Summary Output program crash log @Param (int32) owner @Param (string) format @Param (...interface{}) args
func (*LogBroker) Redirect ¶
func (slf *LogBroker) Redirect()
Redirect doc @Summary Redirect log file
func (*LogBroker) Trace ¶
Trace doc @Summary Output trace log @Param (int32) owner @Param (string) format @Param (...interface{}) args
func (*LogBroker) Warning ¶
Warning doc @Summary Output warning log @Param (int32) owner @Param (string) format @Param (...interface{}) args
func (*LogBroker) WithFilPath ¶
WithFilPath doc @Summary Setting log file name @Param (string) file name
func (*LogBroker) WithFormatter ¶
WithFormatter doc @Summary Setting log format @Param (logrus.Formatter)
func (*LogBroker) WithHandle ¶
WithHandle doc @Summary Setting log object @Param (*logrus.Logger)
func (*LogBroker) WithLevel ¶
WithLevel doc @Summary Setting log level limit @Param (logrus.Level) log level
func (*LogBroker) WithMailMax ¶
WithMailMax doc @Summary Setting log mail max @Param (int)