package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jul 19, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 10
Opens a new window with list of known importers.
Documentation
¶
New build a new zerlog middleware with the provided configuration which has
Stack and Caller enabled
type Option func(opts *zerlogOptions)
Option assign settings to the zerolog middlware
Fields pass a map of attributes which are appended to all log messages
emitted by this logger.
Output is a writer where logs in JSON format are written.
Defaults to os.Stderr.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.