Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GocuiHook ¶
type GocuiHook struct {
// contains filtered or unexported fields
}
GocuiHook is the gocui logrus hook
func NewGocuiHook ¶
NewGocuiHook returns a logrus hook that writes to the app's debug
type LogrusFileHook ¶
type LogrusFileHook struct {
// contains filtered or unexported fields
}
LogrusFileHook is a file hook for logrus
func NewLogrusFileHook ¶
NewLogrusFileHook returns a new logrus file hook
func (*LogrusFileHook) Fire ¶
func (hook *LogrusFileHook) Fire(entry *logrus.Entry) error
Fire will execute when logrus is used
func (*LogrusFileHook) Levels ¶
func (hook *LogrusFileHook) Levels() []logrus.Level
Levels are the levels that the logrus file hook supports
Click to show internal directories.
Click to hide internal directories.