Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelLogger ¶
func NewChannelLogger ¶
func NewChannelLogger() *ChannelLogger
func (*ChannelLogger) Fire ¶
func (l *ChannelLogger) Fire(entry *logrus.Entry) error
A hook to be fired when logging
func (*ChannelLogger) IsSubscribing ¶
func (l *ChannelLogger) IsSubscribing(subscribe bool)
Set if we subscribe or not
func (*ChannelLogger) SetLevels ¶
func (l *ChannelLogger) SetLevels(levels []logrus.Level)
Set acceptable levels
Click to show internal directories.
Click to hide internal directories.