package
Version:
v1.17.0
Opens a new window with list of versions in this module.
Published: Feb 24, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Factory is the default logging wrapper that can create
logger instances either for a given Context or context-less.
NewFactory creates a new Factory.
Bg creates a context-unaware logger.
For returns a context-aware Logger. If the context
contains an OpenTracing span, all logging calls are also
echo-ed into the span.
With creates a child logger, and optionally adds some context fields to that logger.
Logger is a simplified abstraction of the zap.Logger
Source Files
¶
Click to show internal directories.
Click to hide internal directories.