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.
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.