Categorygithub.com/rickb777/ech0
3.1.0
Repository: https://github.com/rickb777/ech0.git
Documentation: pkg.go.dev

# README

Ech0

GoDoc Build Status Go Report Card Issues

Ech0 (pronounced "echo zero") is a logging adapter for echo.Logger that uses github.com/rs/zerolog as the logging backend instead of the default github.com/labstack/gommon/log

Why?

  1. I like Echo.
  2. I like zerolog.
  3. I wanted to have one logging backend in my Echo apps.

Installing

go get -u github.com/rickb777/ech0

Benchmarks

goos: linux
goarch: amd64
pkg: github.com/rickb777/ech0
BenchmarkZeroFormat-8     	 2104641	       570 ns/op	      21 B/op	       2 allocs/op
BenchmarkZeroJSON-8       	 1260433	       911 ns/op	     520 B/op	       2 allocs/op
BenchmarkZero-8           	 2198152	       563 ns/op	      21 B/op	       2 allocs/op
BenchmarkGommonFormat-8   	  563232	      2078 ns/op	     464 B/op	      12 allocs/op
BenchmarkGommonJSON-8     	  517410	      2667 ns/op	     688 B/op	      16 allocs/op
BenchmarkGommon-8         	  558044	      2121 ns/op	     464 B/op	      12 allocs/op
PASS

# Packages

No description provided by the author