package
module
Version:
v1.5.1
Opens a new window with list of versions in this module.
Published: Jun 10, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
Documentation
¶
New build a new raw event logging middleware, this uses zerolog to emit
a log message for the input and output events
type Option func(opts *rawOptions)
Option assign settings to the zerolog middlware
Enabled is a flag to toggle this middleware on or off.
Defaults to true.
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.