package
3.0.0
Repository: https://github.com/gsmcwhirter/go-util.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewFromKitLogger wraps a go-kit logger in our custom extension.
NewJSONLogger creates a new logger that writes json to stdout.
NewLogfmtLogger creates a new logger that writes logfmt to stdout.
With wraps a logger so that every emitted line contains the provided key/val pairs.
WithContext wraps a logger to include the request_id from a context in log messages.
WithLevel wraps a logger to filter out logs lower than the designated level.
WithRequest wraps a logger with fields from a http.Request.

# Variables

DefaultCaller is an alternative to the go-kit object of the same name to account for wrapping.
DefaultTimestampUTC is a passthrough to the go-kit object of the same name.

# Interfaces

Logger is the extended logging interface for the corvee applications.