Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger()
Types ¶
type CustomHook ¶
type CustomHook struct {
CallerDepth int
}
CustomHook Custom Hook for processing logs
func NewCustomHook ¶
func NewCustomHook(depth int) CustomHook
func (CustomHook) Levels ¶
func (c CustomHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.