Top 1.3% dependent repos on proxy.golang.org
proxy.golang.org : github.com/jesseduffield/rollrus
Package rollrus combines github.com/jesseduffield/roll with github.com/sirupsen/logrus via logrus.Hook mechanism, so that whenever logrus' logger.Error/f(), logger.Fatal/f() or logger.Panic/f() are used the messages are intercepted and sent to rollbar. Using SetupLogging should suffice for basic use cases that use the logrus singleton logger. More custom uses are supported by creating a new Hook with NewHook and registering that hook with the logrus Logger of choice. The levels can be customized with the WithLevels OptionFunc. Specific errors can be ignored with the WithIgnoredErrors OptionFunc. This is useful for ignoring errors such as context.Canceled. See the Examples in the tests for more usage.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/jesseduffield/rollrus
License: MIT
Latest release: almost 6 years ago
First release: almost 6 years ago
Namespace: github.com/jesseduffield
Dependent packages: 24
Dependent repositories: 16
Stars: 0 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 4 months ago