package
1.27.0
Repository: https://github.com/uber-go/zap.git
Documentation: pkg.go.dev

# Packages

Package observer provides a zapcore.Core that keeps an in-memory, encoding-agnostic representation of log entries.

# Functions

Level controls which messages are logged by a test Logger built by NewLogger.
NewLogger builds a new Logger that logs all messages to the given testing.TB.
NewTestingWriter builds a new TestingWriter that writes to the given testing.TB.
Sleep scales the sleep duration by $TEST_TIMEOUT_SCALE.
Timeout scales the provided duration by $TEST_TIMEOUT_SCALE.
WrapOptions adds zap.Option's to a test Logger built by NewLogger.

# Structs

TestingWriter is a WriteSyncer that writes to the given testing.TB.

# Interfaces

LoggerOption configures the test logger built by NewLogger.
TestingT is a subset of the API provided by all *testing.T and *testing.B objects.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author