Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
When performance and type safety are critical, use the `New`. It's even faster than the `SugaredLogger` and allocates far less, but it only supports structuted logging.
func NewWithSugaredLogger ¶
func NewWithSugaredLogger() *zap.SugaredLogger
In contexts where performance is nice, but not critical, use the `SugaredLogger`. It is 4-10x faster than other structured logging packages and includes both structured and `printf`-style APIs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.