package
1.0.2
Repository: https://github.com/joinverse/obs.git
Documentation: pkg.go.dev

# Functions

Deprecated: Use LoggerZ object instead.
New creates a root logger with os.Stdout writer.
NewWithWriter creates a root logger with given output writer.
RequestBodyHandler adds the requested Body as a field to the context's logger using fieldKey as field key.
RequestIDHeaderHandler adds given header from request's header as a field to the context's logger using fieldKey as field key.

# Structs

A LoggerZ represents an active logging object that generates lines of JSON output to an io.Writer.