Discover Packages
github.com/juju/zaputil
package
module
Version:
v0.0.0-...-ef53049
Opens a new window with list of versions in this module.
Published: Mar 26, 2019
License: LGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
zaputil
Utilities related to the zap logging package.
Expand ▾
Collapse ▴
Documentation
¶
Error returns a field suitable for logging an error
to a zap Logger along with its error trace.
If err is nil, the field is a no-op.
This is different from zap.Error because the logged
error also includes error traceback information.
NewLoggoWriter returns a loggo.Writer that writes to the
given zap logger.
Source Files
¶
Directories
¶
Package zapctx provides support for associating zap loggers (see github.com/uber-go/zap) with contexts.
Package zapctx provides support for associating zap loggers (see github.com/uber-go/zap) with contexts.
Click to show internal directories.
Click to hide internal directories.