Documentation ¶ Index ¶ type Loghooker func NewLoghooker() *Loghooker func (l *Loghooker) Fire(entry *logrus.Entry) error func (l *Loghooker) Levels() []logrus.Level func (l *Loghooker) Push(entry *logrus.Entry) error func (l *Loghooker) Start() error func (l *Loghooker) Stop() error type WebsocketLogMessage Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Loghooker ¶ type Loghooker struct { // contains filtered or unexported fields } Struct func NewLoghooker ¶ func NewLoghooker() *Loghooker Public func (*Loghooker) Fire ¶ func (l *Loghooker) Fire(entry *logrus.Entry) error func (*Loghooker) Levels ¶ func (l *Loghooker) Levels() []logrus.Level Public - Logrus func (*Loghooker) Push ¶ func (l *Loghooker) Push(entry *logrus.Entry) error func (*Loghooker) Start ¶ func (l *Loghooker) Start() error func (*Loghooker) Stop ¶ func (l *Loghooker) Stop() error type WebsocketLogMessage ¶ type WebsocketLogMessage struct { Time string `json:"time"` Level string `json:"level"` Component string `json:"component"` Message string `json:"message"` } Source Files ¶ View all Source files loghook.go logrus.go Click to show internal directories. Click to hide internal directories.