# Functions
Initialize checks the environment and alters the timeout scale accordingly.
NewMockClock builds a new mock clock that provides control of time.
Sleep scales the sleep duration by $TEST_TIMEOUT_SCALE.
Timeout scales the provided duration by $TEST_TIMEOUT_SCALE.
# Structs
Buffer is an implementation of zapcore.WriteSyncer that sends all writes to a bytes.Buffer.
A Discarder sends all writes to io.Discard.
FailWriter is a WriteSyncer that always returns an error on writes.
MockClock provides control over the time.
ShortWriter is a WriteSyncer whose write method never fails, but nevertheless fails to the last byte of the input.
A Syncer is a spy for the Sync portion of zapcore.WriteSyncer.