Ecosyste.ms: Packages

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

Top 6.7% on proxy.golang.org
Top 5.8% dependent packages on proxy.golang.org
Top 3.5% dependent repos on proxy.golang.org
Top 8.2% forks on proxy.golang.org

proxy.golang.org : github.com/bdlm/log/v2

Package log is a fork of the excellent [`sirupsen/logrus`](https://github.com/bdlm/log) package. log is a structured logger for Go, completely API compatible with the standard library logger. Package-level exported logger Output: Note that it is completely api-compatible with the stdlib logger, so you can replace your `log` imports everywhere with `"github.com/bdlm/log/v2"` and you'll have the full flexibility of `bdlm/log` available. You can customize it further in your code: `bdlm/log` also supports a "blacklist" of values that should not be logged. This can be used to help prevent or mitigate leaking secrets into log files: For more advanced usage such as logging to multiple locations from the same application, you can create an instance of the `bdlm/log` Logger: Color-coded output is available when attached to a TTY for development. A JSON formatter is also available for easy parsing by logstash or Splunk: Output: For a full guide visit https://github.com/bdlm/log

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/bdlm/log/v2
Keywords: go, golang, logger, logging, structured-logging
License: MIT
Latest release: 2 months ago
First release: about 4 years ago
Namespace: github.com/bdlm/log
Dependent packages: 2
Dependent repositories: 2
Stars: 13 on GitHub
Forks: 5 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 28 days ago

    Loading...
    Readme
    Loading...