Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.4% on proxy.golang.org
Top 3.4% dependent packages on proxy.golang.org

proxy.golang.org : github.com/secureworks/logger/middleware

Package middleware has HTTP server middleware that provides access to a shared logger and simplifies writing canonical log lines with a shared entry per request. It also automates basic request parameter logging. NewHTTPServer binds a logger to an HTTP server so that it will be present in every request context: NewHTTPRequestMiddleware injects an entry into the context of the the request that it writes after the succeeding handlers process it. This entry has certain aspects of the request logged by default, but can be configured to include more. Subsequent handlers can also extract the entry and update it to allow for canonical log line logging.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/secureworks/logger/middleware
Keywords: golang, golang-library, logger, logging
License: Apache-2.0
Latest release: almost 2 years ago
First release: over 2 years ago
Namespace: github.com/secureworks/logger
Dependent packages: 2
Stars: 3 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago

Top 8.2% on proxy.golang.org
github.com/secureworks/logger v1.1.1
Package logger is the home of the Secureworks logger. The Secureworks logger is a unified interfa...
5 versions - Latest release: almost 2 years ago - 3 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/secureworks/logger/logrus v1.1.0
Package logrus implements a logger with a Logrus driver. See the documentation associated with th...
3 versions - Latest release: almost 2 years ago - 2 dependent packages - 3 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/secureworks/logger/zerolog v1.1.0
Package zerolog implements a logger with a Zerolog driver. See the documentation associated with ...
3 versions - Latest release: almost 2 years ago - 2 dependent packages - 3 stars on GitHub
Top 5.6% on proxy.golang.org
github.com/secureworks/logger/internal v1.1.0
A unified logging interface for Golang that supports multiple libraries.
3 versions - Latest release: almost 2 years ago - 6 dependent packages - 3 stars on GitHub
Top 6.1% on proxy.golang.org
github.com/secureworks/logger/testlogger v1.1.0
Package testlogger implements a logger with a testing driver. See the documentation associated wi...
3 versions - Latest release: almost 2 years ago - 3 dependent packages - 3 stars on GitHub
Top 5.5% on proxy.golang.org
github.com/secureworks/logger/log v1.1.0
Package log provides the unified interface for the Secureworks logger. This interface can use und...
3 versions - Latest release: almost 2 years ago - 9 dependent packages - 3 stars on GitHub