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.
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.
NewNullLogger creates a discarding logger and installs the test hook.
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.