Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContextWithMockSpan ¶
NewContextWithMockSpan is test helper.
func NoopTimeEncoder ¶
func NoopTimeEncoder(time.Time, zapcore.PrimitiveArrayEncoder)
Types ¶
type MockLogger ¶
type MockLogger struct {
*zap.SugaredLogger
// contains filtered or unexported fields
}
MockLogger is logger wrapped for tests.
func NewMockLogger ¶
func NewMockLogger() *MockLogger
func (*MockLogger) String ¶
func (m *MockLogger) String() string
Click to show internal directories.
Click to hide internal directories.