Documentation ¶
Overview ¶
** description("get the name and line number of the calling file hook"). ** copyright('tuoyun,www.tuoyun.net'). ** author("fg,Gordon@tuoyun.net"). ** time(2021/3/16 11:26).
Index ¶
- func Debug(OperationID string, args ...interface{})
- func Error(OperationID string, args ...interface{})
- func Info(OperationID string, args ...interface{})
- func IsNil() bool
- func NewDebug(OperationID string, args ...interface{})
- func NewError(OperationID string, args ...interface{})
- func NewInfo(OperationID string, args ...interface{})
- func NewLfsHook(rotationTime time.Duration, maxRemainNum uint, moduleName string) logrus.Hook
- func NewPrivateLog(moduleName string, logLevel uint32)
- func NewWarn(OperationID string, args ...interface{})
- func Warn(OperationID string, args ...interface{})
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLfsHook ¶
func NewPrivateLog ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.