Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.
```