package
0.28.0
Repository: https://github.com/rickb777/httpclient.git
Documentation: pkg.go.dev

# Functions

FileLogger returns a new Logger writing to a file in dir.
LogWriter returns a new Logger.
SyncWriter wraps a io.Writer so that each call to Write is protected by a mutex.

# Variables

LongBodyThreshold is the body length threshold beyond which the body will be written to a file.
TimeFormat sets the appearance of the timestamp that prefixes each logged message.

# Type aliases

Logger is a function that processes log items, e.g.