text: import "github.com/sirupsen/logrus/hooks/test"
  The Test package is used for testing logrus. It is here for backwards compatibility from when logrus' organization was upper-case. Please use lower-case logrus and the `null` package instead of this one.
  NewNullLogger creates a discarding logger and installs the test hook.
  type Hook struct { // Entries is an array of all entries that have been received by this hook. // For safe access, use the AllEntries() method, rather than reading this // value directly. Entries []*logrus.Entry // contains filtered or unexported fields }
  Hook is a hook designed for dealing with logs in test scenarios.
  NewGlobal installs a test hook for the global logger.
  NewLocal installs a test hook for a given local logger.
  AllEntries returns all entries that were logged.
  LastEntry returns the last entry that was logged or nil.
  Reset removes all Entries from this test hook.
  Package test imports 3 packages (graph) and is imported by 8 packages. Updated 2018-05-17. Refresh now. Tools for package owners.