Versions in this module Expand all Collapse all v1 v1.12.2 Oct 30, 2019 Changes in this version + func NewLogger(t TestingT, opts ...LoggerOption) *zap.Logger + func Sleep(base time.Duration) + func Timeout(base time.Duration) time.Duration + type Buffer = ztest.Buffer + type Discarder = ztest.Discarder + type FailWriter = ztest.FailWriter + type LoggerOption interface + func Level(enab zapcore.LevelEnabler) LoggerOption + func WrapOptions(zapOpts ...zap.Option) LoggerOption + type ShortWriter = ztest.ShortWriter + type Syncer = ztest.Syncer + type TestingT interface + Errorf func(string, ...interface{}) + Fail func() + FailNow func() + Failed func() bool + Logf func(string, ...interface{}) + Name func() string