package
0.3.1
Repository: https://github.com/akabos/multiproxy.git
Documentation: pkg.go.dev

# Functions

ContentLength returns content length previously pushed into the request context.
Debug emits debug level message using server logger associated with the request.
DefaultAccessLogEncoderConfig returns the default configuration for access logger encoder.
DefaultServerLogEncoderConfig returns the default configuration for server logger encoder.
Error emits error level message using server logger associated with the request.
Fatal emits fatal level message using server logger associated with the request.
Info emits info level message using server logger associated with the request.
Log is the convenience wrapper around Middleware.
Logger returns server logger associated with the request.
Middleware is logging middleware constructor.
Named append name token to both server and access loggers associated with the request.
Panic emits panic level message using server logger associated with the request.
Sequence returns request sequence from the request context.
StatusCode returns status code previously pushed into the request context.
UID returns request identifier from the request context.
Warn emits warn level message using server logger associated with the request.
With pushes the lest of fields into the context of both access and server loggers associated with the request.
WithContentLength pushes response content length into the access logger associated with the request.
WithStatusCode pushes response status code into the access logger associated with the request.