Documentation
¶
Index ¶
- type InMemoryEntriesHook
- func (h *InMemoryEntriesHook) EntryWithErrorExists(err error) bool
- func (h *InMemoryEntriesHook) EntryWithMessageExists(entry *regexp.Regexp) bool
- func (h *InMemoryEntriesHook) Fire(entry *logrus.Entry) error
- func (h *InMemoryEntriesHook) GetEntries() []logrus.Entry
- func (h *InMemoryEntriesHook) Levels() []logrus.Level
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryEntriesHook ¶
type InMemoryEntriesHook struct {
// contains filtered or unexported fields
}
func NewInMemoryEntriesHook ¶
func NewInMemoryEntriesHook(levels []logrus.Level) *InMemoryEntriesHook
func (*InMemoryEntriesHook) EntryWithErrorExists ¶ added in v1.67.3
func (h *InMemoryEntriesHook) EntryWithErrorExists(err error) bool
func (*InMemoryEntriesHook) EntryWithMessageExists ¶ added in v1.67.3
func (h *InMemoryEntriesHook) EntryWithMessageExists(entry *regexp.Regexp) bool
func (*InMemoryEntriesHook) GetEntries ¶
func (h *InMemoryEntriesHook) GetEntries() []logrus.Entry
func (*InMemoryEntriesHook) Levels ¶
func (h *InMemoryEntriesHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.