package
0.0.3
Repository: https://github.com/go-dataspace/run-dsp.git
Documentation: pkg.go.dev

# Functions

Extract will extract a logger from the context.
Inject will inject a logger into the context.
InjectLabels injects labels to the logger living in the context, it will return both the context and the logger.
New will initialise a new structured logger with JSON output, logging at the desired level.
NewMiddleware creates a middleware function that injects the logger into the context of the request, including some useful tags.