Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.
/ logr Public archive

Implementations based on the logger interface by Brian Ketelsen

License

Notifications You must be signed in to change notification settings

corvus-ch/logr

Repository files navigation

A golang logging utility library

Build Status Maintainability Test Coverage GoDoc

This library contains a collection of utilities and implementations built around the logr.Logger interface by Brian Ketelsen.

Implementations are provided for:

Each of the above implementation comes with a benchmark. The short version: when interested in having control about the format and destination of the output, go with logrus. If performance is the main concern, go with zerolog.

There is also an implementation using an internal buffer.

The package log provides a global logger which aims to be compatible to the one provided by log.Logger.

Sometimes one might want to use a logger through the io.Writer interface. This is where the package writer_adapter comes in handy.

Contributing and license

This library is licenced under MIT. For information about how to contribute to this project, see CONTRIBUTING.md.

About

Implementations based on the logger interface by Brian Ketelsen

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published