Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscardLogging ¶
func DiscardLogging() (restore func())
DiscardLogging sets the global Logrus output to utils.Discard
func SetupLoggingBuffer ¶
SetupLoggingBuffer creates an empty buffer and sets it as a Logrus output globally. Returns the created buffer so you can check what was logged.
func ToJSONBytes ¶
ToJSONBytes converts any structure to a byte slice of its JSON representation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.