# Functions
DiscardLogging sets the global Logrus output to utils.Discard.
JSONEq asserts that two JSON strings are equivalent or both empty.
SetupLoggingBuffer creates an empty buffer and sets it as a Logrus output globally.
ToJSONBytes converts any structure to a byte slice of its JSON representation.