Versions in this module Expand all Collapse all v0 v0.5.0 Aug 8, 2018 Changes in this version + func NewLogDummy() *logrus.Entry + type EntryAssertFormatter struct + Underlying logrus.Formatter + func (f *EntryAssertFormatter) AllEntriesMatches(matcher func(entry logrus.Entry) bool) bool + func (f *EntryAssertFormatter) AnyMatches(matcher func(entry logrus.Entry) bool) bool + func (f *EntryAssertFormatter) Format(entry *logrus.Entry) ([]byte, error) + type LogSink struct + Logger *logrus.Entry + RawLogger *logrus.Logger + func NewLogSink() *LogSink + func (s *LogSink) AssertErrorLogged(t *testing.T, errorExpected error) + func (s *LogSink) AssertLogged(t *testing.T, level logrus.Level, message string) + func (s *LogSink) AssertNotLogged(t *testing.T, level logrus.Level, message string) + func (s *LogSink) DumpAll() []string