Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StreamLogHook ¶
type StreamLogHook struct {
// contains filtered or unexported fields
}
func NewStreamLogHook ¶
func NewStreamLogHook(handler func(msg string), stopFunc func()) *StreamLogHook
func (*StreamLogHook) Close ¶
func (s *StreamLogHook) Close() error
func (*StreamLogHook) Levels ¶
func (s *StreamLogHook) Levels() []logrus.Level
func (*StreamLogHook) Send ¶
func (s *StreamLogHook) Send()
Click to show internal directories.
Click to hide internal directories.