Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benpate/derp-zerolog
Derp plugin that uses ZeroLog logging
https://github.com/benpate/derp-zerolog
Last synced: about 2 months ago
JSON representation
Derp plugin that uses ZeroLog logging
- Host: GitHub
- URL: https://github.com/benpate/derp-zerolog
- Owner: benpate
- License: apache-2.0
- Created: 2023-09-10T00:27:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-22T21:10:03.000Z (about 1 year ago)
- Last Synced: 2024-10-28T20:49:23.033Z (3 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# derp-zerolog
This microscopic plugin for the [Derp error reporting library](https://github.com/benpate/derp)
writes errors to your application's [ZeroLog](https://github.com/rs/zerolog) logs### Usage
```go
// Import the plugin
import plugin "github.com/benpate/hannibal-sigs-w3ctest/derp-zerolog"// Register the plugin with Derp
derp.Plugins.Add(plugin.Zerolog{})// Yay! Now derp.Report will write errors to zerolog.
```