Directories ¶
Path | Synopsis |
---|---|
Package atomic provides simple wrappers around numerics to enforce atomic access.
|
Package atomic provides simple wrappers around numerics to enforce atomic access. |
Package multierr allows combining one or more errors together.
|
Package multierr allows combining one or more errors together. |
Package zap provides fast, structured, leveled logging.
|
Package zap provides fast, structured, leveled logging. |
benchmarks
Package benchmarks contains only benchmarks comparing zap to other structured logging libraries.
|
Package benchmarks contains only benchmarks comparing zap to other structured logging libraries. |
buffer
Package buffer provides a thin wrapper around a byte slice.
|
Package buffer provides a thin wrapper around a byte slice. |
internal/bufferpool
Package bufferpool houses zap's shared internal buffer pool.
|
Package bufferpool houses zap's shared internal buffer pool. |
internal/color
Package color adds coloring functionality for TTY output.
|
Package color adds coloring functionality for TTY output. |
internal/exit
Package exit provides stubs so that unit tests can exercise code that calls os.Exit(1).
|
Package exit provides stubs so that unit tests can exercise code that calls os.Exit(1). |
internal/ztest
Package ztest provides low-level helpers for testing log output.
|
Package ztest provides low-level helpers for testing log output. |
zapcore
Package zapcore defines and implements the low-level interfaces upon which zap is built.
|
Package zapcore defines and implements the low-level interfaces upon which zap is built. |
zapgrpc
Package zapgrpc provides a logger that is compatible with grpclog.
|
Package zapgrpc provides a logger that is compatible with grpclog. |
zaptest
Package zaptest provides a variety of helpers for testing log output.
|
Package zaptest provides a variety of helpers for testing log output. |
zaptest/observer
Package observer provides a zapcore.Core that keeps an in-memory, encoding-agnostic repesentation of log entries.
|
Package observer provides a zapcore.Core that keeps an in-memory, encoding-agnostic repesentation of log entries. |
Click to show internal directories.
Click to hide internal directories.