Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestMode bool
TestMode is a flag for testing mode
Functions ¶
func CaptureZapOutput ¶ added in v0.1.10
func CaptureZapOutput(funcToRun func()) string
CaptureZapOutput returns output of zap logger so that it can be used in tests
func EnableTestingMode ¶ added in v0.1.10
func EnableTestingMode()
EnableTestingMode set zap for testing, should be called before CaptureZapOutput
Types ¶
Click to show internal directories.
Click to hide internal directories.